From 671641132cbb3b0b5e071c6663f1cee4384e3fb6 Mon Sep 17 00:00:00 2001 From: Austreelis Date: Fri, 19 Jul 2024 16:44:03 +0200 Subject: [PATCH] fix: lib.types.derivations.shell's check --- lib/src/types/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/types/default.nix b/lib/src/types/default.nix index 48b1551..94a223c 100644 --- a/lib/src/types/default.nix +++ b/lib/src/types/default.nix @@ -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; }; }; -- 2.45.2