diff options
author | sterni <sternenseemann@systemli.org> | 2022-11-03T15·32+0100 |
---|---|---|
committer | sterni <sternenseemann@systemli.org> | 2022-11-03T23·08+0000 |
commit | 2de80c8c330fa4286f0fdbad129e2c66ecabaa5d (patch) | |
tree | 04086dcb396c56c79281489ced6d7ec55423b4e7 /third_party/overlays/patches/nvd-nix-2.3.patch | |
parent | 57cf952ea98db70fcf50ec31e1c1057562b0a1df (diff) |
fix(3p/overlays/tvl): fix nvd with Nix 2.3 r/5233
If more of these issues crop up, we should consider making a patch for our Nix fork that ignores the --experimental-features flag. Change-Id: If146804f2c9f9375f2035985a6fd99f72b0fdcc7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7165 Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'third_party/overlays/patches/nvd-nix-2.3.patch')
-rw-r--r-- | third_party/overlays/patches/nvd-nix-2.3.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/overlays/patches/nvd-nix-2.3.patch b/third_party/overlays/patches/nvd-nix-2.3.patch new file mode 100644 index 000000000000..e39a747942e6 --- /dev/null +++ b/third_party/overlays/patches/nvd-nix-2.3.patch @@ -0,0 +1,12 @@ +diff --git a/src/nvd b/src/nvd +index 4caf646..793fc60 100755 +--- a/src/nvd ++++ b/src/nvd +@@ -440,7 +440,6 @@ def query_closure_disk_usage_bytes(target: Path) -> Optional[int]: + stdout = subprocess.run( + [ + make_nix_bin_path("nix"), "path-info", +- "--extra-experimental-features", "nix-command", + "--closure-size", target_str, + ], + stdout=PIPE, |