Open tobiasBora opened 2 years ago
In order to test if the environment is not causing some troubles, I tried to use the sandbox feature of nixpkgs-review. Unfortunately, it is not equivalent to nix-shell --pure as the environment variables are not cleared:
sandbox
nix-shell --pure
$ export AJJJ=abcd $ nix-shell -p bubblewrap $ nix run github:Mic92/nixpkgs-review?rev=b1ad5652da53ac4d531c27f557eab3bf0871f637#nixpkgs-review -- pr --sandbox https://github.com/NixOS/nixpkgs/pull/144708 $ echo $AJJJ abcd
On the other side, nix-shell --pure provides clean environment:
$ nix-shell -p bubblewrap --pure $ echo $AJJJ
Would it be possible to add a --pure functionality to nixpkgs-review?
--pure
In order to test if the environment is not causing some troubles, I tried to use the
sandbox
feature of nixpkgs-review. Unfortunately, it is not equivalent tonix-shell --pure
as the environment variables are not cleared:On the other side,
nix-shell --pure
provides clean environment:Would it be possible to add a
--pure
functionality to nixpkgs-review?