|
|
|
@ -8,7 +8,7 @@ pfx=${2%.rw} |
|
|
|
|
redo-ifchange ../flake.nix ../flake.lock || true |
|
|
|
|
|
|
|
|
|
resolve_flake() { |
|
|
|
|
STORE_PATH=$(nix flake info --json --inputs-from .. "$pfx" | jq -r .path) |
|
|
|
|
STORE_PATH=$(nix flake archive .. --dry-run --json | jq -r .inputs.\"$pfx\".path) |
|
|
|
|
|
|
|
|
|
# Do this after 'info' to avoid unnecessary network activity. nix flake |
|
|
|
|
# archive may try to download a flake although the store path is available. |
|
|
|
|