subprojects/nix-eval-jobs: don't set NIX_PATH
Corresponding upstream change: https://github.com/nix-community/nix-eval-jobs/commit/f584ae856ebab2d20115c5d1424f4d2fb9e0e6a6.patch Co-authored-by: Mic92 <joerg@thalheim.io> Change-Id: Id6085968f7f4ccdbc8035f608ff75420fbf962a5
This commit is contained in:
co-authored by
Mic92
parent
52872026fb
commit
cad6118e20
@@ -156,6 +156,9 @@ ma27:
|
||||
matthewbauer:
|
||||
github: matthewbauer
|
||||
|
||||
mic92:
|
||||
github: mic92
|
||||
|
||||
midnightveil:
|
||||
display_name: julia
|
||||
forgejo: midnightveil
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
synopsis: "nix-eval-jobs: retain NIX_PATH"
|
||||
issues: []
|
||||
cls: [3859]
|
||||
category: Fixes
|
||||
credits: [ma27,mic92]
|
||||
---
|
||||
|
||||
`nix-eval-jobs` doesn't clear the `NIX_PATH` from the environment anymore. This matches the behavior
|
||||
of [upstream version `2.30`](https://github.com/nix-community/nix-eval-jobs/releases/tag/v2.30.0).
|
||||
@@ -355,10 +355,6 @@ void collector(MyArgs &myArgs, Sync<State> &state_,
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
|
||||
/* Prevent undeclared dependencies in the evaluation via
|
||||
$NIX_PATH. */
|
||||
unsetenv("NIX_PATH");
|
||||
|
||||
/* We are doing the garbage collection by killing forks */
|
||||
setenv("GC_DONT_GC", "1", 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user