mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2025-06-28 01:23:31 +02:00
justfile: fix nom use condition.
turns out just will plumb the stdout of its running processes, so we detect ttys on stderr instead
This commit is contained in:
parent
bce1f0e912
commit
31f2f445f3
2
justfile
2
justfile
@ -1,6 +1,6 @@
|
|||||||
set positional-arguments # makes variables accesible as $1 $2 $@
|
set positional-arguments # makes variables accesible as $1 $2 $@
|
||||||
export GUM_FILTER_HEIGHT := "15"
|
export GUM_FILTER_HEIGHT := "15"
|
||||||
nom := `if [[ -t 1 ]] && command -v nom >/dev/null; then echo nom; else echo nix; fi`
|
nom := `if [[ -t 2 ]] && command -v nom >/dev/null; then echo nom; else echo nix; fi`
|
||||||
nix_eval_opts := "--log-format raw --option warn-dirty false"
|
nix_eval_opts := "--log-format raw --option warn-dirty false"
|
||||||
|
|
||||||
@_default:
|
@_default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user