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 ];
|
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?
|
# Whether user enabled given feature for the given package?
|
||||||
getFlag = flag: package: default:
|
getFlag = flag: package: default:
|
||||||
getConfig [ "environment" "flags" package flag ]
|
getConfig [ "environment" "flags" package flag ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user