Skip to content

Commit 18a2351

Browse files
committed
always use the buildEnv
1 parent 760e7d1 commit 18a2351

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nixpkgs_review/nix.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,8 @@ def write_shell_expression(
320320
preferLocalBuild = true;
321321
allowSubstitutes = false;
322322
dontWrapQtApps = true;
323-
packages = if builtins.length paths > 50 then [ env ] else paths;
323+
# with a separate buildEnv the impurities such as hooks and propagatedBuildInputs won't be added to the shell
324+
packages = [ env ];
324325
}
325326
"""
326327
)

0 commit comments

Comments
 (0)