mirror of
https://github.com/nix-community/nixos-generators.git
synced 2024-08-16 07:30:22 +03:00
flake info subcommand was renamed to metadata
This commit is contained in:
parent
537b572d3a
commit
b95c73cfcc
@ -71,7 +71,7 @@ while [[ $# -gt 0 ]]; do
|
||||
# string.
|
||||
flake="$(echo "$2" | awk -F'#' '{ print $1; }')"
|
||||
|
||||
flake_uri="$(nix flake info --json -- "$flake" | jq -r .url)"
|
||||
flake_uri="$(nix flake metadata --json -- "$flake" | jq -r .url)"
|
||||
flake_attr="$(echo "$2" | awk -F'#' '{ print $2; }')"
|
||||
shift
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user