From 2de80c8c330fa4286f0fdbad129e2c66ecabaa5d Mon Sep 17 00:00:00 2001 From: sterni Date: Thu, 3 Nov 2022 16:32:32 +0100 Subject: fix(3p/overlays/tvl): fix nvd with Nix 2.3 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 Tested-by: BuildkiteCI Reviewed-by: tazjin --- third_party/overlays/patches/nvd-nix-2.3.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 third_party/overlays/patches/nvd-nix-2.3.patch (limited to 'third_party/overlays/patches') 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 0000000000..e39a747942 --- /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, -- cgit 1.4.1