Merge pull request #120774 from sternenseemann/shellpackage-fix-check
lib/types: only accept derivations for shellPackage
This commit is contained in:
commit
680a901ae1
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@ rec {
|
|||
};
|
||||
|
||||
shellPackage = package // {
|
||||
check = x: (package.check x) && (hasAttr "shellPath" x);
|
||||
check = x: isDerivation x && hasAttr "shellPath" x;
|
||||
};
|
||||
|
||||
path = mkOptionType {
|
||||
|
|
Loading…
Reference in a new issue