From 768331a3993d82ba09db7228b009011f3fab5aad Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Tue, 22 Oct 2024 20:52:54 -0700 Subject: [PATCH] =?utf8?q?nix=20show-derivation=20=E2=86=92=20nix=20deriva?= =?utf8?q?tion=20show?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Changelog | 1 + nix_pin_deps.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index ce08d7f..95e7ac6 100644 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ ## [Unreleased] +- nix show-derivation → nix derivation show ## [1.0.0] - 2022-05-20 diff --git a/nix_pin_deps.py b/nix_pin_deps.py index 297f7c1..0b83d5c 100644 --- a/nix_pin_deps.py +++ b/nix_pin_deps.py @@ -59,7 +59,7 @@ def getDrvInfo(drv: str) -> Any: with log(f"Loading {drv}..."): with subprocess.Popen( ["nix", "--experimental-features", "nix-command", - "show-derivation", "/nix/store/" + drv], + "derivation", "show", f"/nix/store/{drv}^*"], stdout=subprocess.PIPE) as process: assert process.stdout info = json.load(process.stdout) -- 2.44.1