forked from mirrors/nixpkgs
Removed useVersion duplicate
svn path=/nixpkgs/branches/stdenv-updates/; revision=9763
This commit is contained in:
parent
b8fafa21e6
commit
f7070ce809
|
@ -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 ]
|
||||
|
|
Loading…
Reference in a new issue