mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
Fix nix flake info error
Fixes "error: 'info' is not a recognised command'" Issue: #307
This commit is contained in:
parent
5c3146b75d
commit
93752a83ea
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ if [ -n "$flake" ]; then
|
|||
fi
|
||||
|
||||
if [ -n "$flake" ]; then
|
||||
flake=$(nix "${flakeFlags[@]}" flake info --json "${extraBuildFlags[@]}" "${extraLockFlags[@]}" -- "$flake" | jq -r .url)
|
||||
flake=$(nix "${flakeFlags[@]}" flake metadata --json "${extraBuildFlags[@]}" "${extraLockFlags[@]}" -- "$flake" | jq -r .url)
|
||||
fi
|
||||
|
||||
if [ "$action" != build ] && [ -z "$flake" ]; then
|
||||
|
|
Loading…
Reference in a new issue