"Fix lib.types.derivations.shell's check" #7
|
@ -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