Skip to content

Commit

Permalink
always use the buildEnv
Browse files Browse the repository at this point in the history
  • Loading branch information
Artturin committed Oct 22, 2023
1 parent 760e7d1 commit 18a2351
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 18a2351

Please sign in to comment.