3
0
Fork 0
forked from mirrors/nixpkgs

Removed useVersion duplicate

svn path=/nixpkgs/branches/stdenv-updates/; revision=9763
This commit is contained in:
Yury G. Kudryashov 2007-11-19 23:08:48 +00:00
parent b8fafa21e6
commit f7070ce809

View file

@ -154,13 +154,6 @@ rec {
version = getConfig [ "environment" "versions" name ];
};
# The same, another syntax.
# Warning: syntax for configuration.nix changed too
useVersion = name: f: f
{
version = getConfig [ "environment" "versions" name ];
};
# Whether user enabled given feature for the given package?
getFlag = flag: package: default:
getConfig [ "environment" "flags" package flag ]