fix: lib.types.derivations.shell's check
This commit is contained in:
parent
7d94b7f665
commit
671641132c
|
@ -579,7 +579,7 @@ lib: {
|
|||
##
|
||||
## @type Attrs
|
||||
shell = lib.types.derivation // {
|
||||
check = value: lib.packages.isDerivation && builtins.hasAttr "shellPath" value;
|
||||
check = value: lib.packages.isDerivation value && builtins.hasAttr "shellPath" value;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue