Skip to content

Commit

Permalink
always use the buildEnv
Browse files Browse the repository at this point in the history
  • Loading branch information
Artturin authored and Mic92 committed Dec 9, 2023
1 parent 5639831 commit 08df34c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nixpkgs_review/nix.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,8 @@ def write_shell_expression(
preferLocalBuild = true;
allowSubstitutes = false;
dontWrapQtApps = true;
packages = if builtins.length paths > 50 then [ env ] else paths;
# with a separate buildEnv the impurities such as hooks and propagatedBuildInputs won't be added to the shell
packages = [ env ];
}
"""
)

0 comments on commit 08df34c

Please sign in to comment.