X-Git-Url: http://git.scottworley.com/nix-pin-deps/blobdiff_plain/cf8e9f60920742f11a972c266e8bf5bf358c0881..refs/heads/master:/nix_pin_deps.py?ds=sidebyside 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)