mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
nixos-rebuild: nix flake info -> nix flake metadata
As of
66fa1c7375
,
the `nix flake info` and `nix flake list-inputs` commands were merged into
`nix flake metadata`.
This commit is contained in:
parent
370a401ee0
commit
85f5d9a6ed
@ -295,7 +295,7 @@ fi
|
||||
|
||||
# Resolve the flake.
|
||||
if [[ -n $flake ]]; then
|
||||
flake=$(nix "${flakeFlags[@]}" flake info --json "${extraBuildFlags[@]}" "${lockFlags[@]}" -- "$flake" | jq -r .url)
|
||||
flake=$(nix "${flakeFlags[@]}" flake metadata --json "${extraBuildFlags[@]}" "${lockFlags[@]}" -- "$flake" | jq -r .url)
|
||||
fi
|
||||
|
||||
# Find configuration.nix and open editor instead of building.
|
||||
|
Loading…
Reference in New Issue
Block a user