fix: lib.types.derivations.shell's check

This commit is contained in:
Austreelis 2024-07-19 16:44:03 +02:00
parent 7d94b7f665
commit 671641132c
Failed to generate hash of commit

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