New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/make-test: don't pick up impure overlays #75170
Conversation
Specify overlays = [] to prevent nixpkgs from evaluating overlays from $HOME etc.
Several nixos tests also imported nixpkgs but left out the overlays argument (impure). Added a 2nd commit to fix those. |
Hm, maybe it's a better idea to just import |
That sounds like a good idea, but I'm not sure what to pass to the one and only mandatory |
Many nixos tests import nixpkgs but don't specify the overlays argument. That means nixpkgs will look for overlays in impure $HOME etc. Fix it by passing overlays = []. A few tests even imported <nixpkgs> instead of the current nixpkgs (relative path). Fix those while at it.
c6cde9f
to
98e66dd
Compare
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
I marked this as stale due to inactivity. → More info |
Hopefully unneeded now that #203028 is merged (and a lot of refactoring since this diff was made). |
Motivation for this change
Specify overlays = [] to prevent nixpkgs from evaluating overlays from
$HOME etc.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @tfc @Ekleog @aszlig