Skip to content

Commit

Permalink
flake info subcommand was renamed to metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Mykyta Ursol committed Mar 30, 2021
1 parent 537b572 commit b95c73c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos-generate
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand Down

0 comments on commit b95c73c

Please sign in to comment.