mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2025-06-07 06:03:35 +02:00
justfile: silence 'nix eval' spam
This commit is contained in:
parent
4e44da29b5
commit
dca6862045
3
justfile
3
justfile
@ -1,5 +1,6 @@
|
|||||||
export GUM_FILTER_HEIGHT := "15"
|
export GUM_FILTER_HEIGHT := "15"
|
||||||
nom := `if command -v nom >/dev/null; then echo nom; else echo nix; fi`
|
nom := `if command -v nom >/dev/null; then echo nom; else echo nix; fi`
|
||||||
|
nix_eval_opts := "--log-format raw --option warn-dirty false"
|
||||||
|
|
||||||
@_default:
|
@_default:
|
||||||
just "$(gum choose --ordered --header "Pick a recipie..." $(just --summary --unsorted))"
|
just "$(gum choose --ordered --header "Pick a recipie..." $(just --summary --unsorted))"
|
||||||
@ -15,7 +16,7 @@ run-vm machine=`just _a_machine`:
|
|||||||
QEMU_NET_OPTS="hostfwd=tcp::8080-:80,hostfwd=tcp::8081-:443,hostfwd=tcp::2222-:22" ./result/bin/run-*-vm
|
QEMU_NET_OPTS="hostfwd=tcp::8080-:80,hostfwd=tcp::8081-:443,hostfwd=tcp::2222-:22" ./result/bin/run-*-vm
|
||||||
|
|
||||||
@update-inputs:
|
@update-inputs:
|
||||||
nix eval .#inputs --apply builtins.attrNames --json \
|
nix eval {{nix_eval_opts}} .#inputs --apply builtins.attrNames --json \
|
||||||
| jq '.[]' -r \
|
| jq '.[]' -r \
|
||||||
| gum choose --no-limit --height=15 \
|
| gum choose --no-limit --height=15 \
|
||||||
| xargs -L 1 nix flake lock --update-input
|
| xargs -L 1 nix flake lock --update-input
|
||||||
|
Loading…
x
Reference in New Issue
Block a user