"Fix lib.types.derivations.shell's check" #7

Merged
jakehamilton merged 1 commit from austreelis/fix/types-derivations-shell-check into main 2024-08-15 16:06:21 +00:00

View file

@ -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;
};
};