Merge pull request #16189 from zimbatm/usershell-config

User shell config
This commit is contained in:
zimbatm
2016-06-19 23:36:45 +01:00
committed by GitHub
17 changed files with 85 additions and 20 deletions
+4
View File
@@ -100,6 +100,10 @@ rec {
in if isDerivation res then res else toDerivation res;
};
shellPackage = package // {
check = x: (package.check x) && (hasAttr "shellPath" x);
};
path = mkOptionType {
name = "path";
# Hacky: there is no isPath primop.