pkgs.whatsupnix: print gawk output ASAP
This commit is contained in:
parent
74522bba94
commit
dbe4cc21e3
@ -26,7 +26,7 @@ gawk -v failed_drvs="$failed_drvs" '
|
||||
match($0, /^builder for ‘(\/nix\/store\/[^’]+\.drv)’ failed/, m) {
|
||||
print m[1] >> failed_drvs
|
||||
}
|
||||
{ print $0 }
|
||||
{ print $0; fflush("/dev/stdout") }
|
||||
'
|
||||
|
||||
case $# in
|
||||
|
@ -137,7 +137,7 @@
|
||||
-I "$target_path" \
|
||||
"$@" \
|
||||
2>&1 |
|
||||
${pkgs.coreutils}/bin/stdbuf -oL ${pkgs.whatsupnix}/bin/whatsupnix
|
||||
${pkgs.whatsupnix}/bin/whatsupnix
|
||||
'';
|
||||
|
||||
utils.deploy = pkgs.writeScript "utils.deploy" /* sh */ ''
|
||||
@ -150,7 +150,7 @@
|
||||
-I "$target_path" \
|
||||
"$@" \
|
||||
2>&1 |
|
||||
${pkgs.coreutils}/bin/stdbuf -oL ${pkgs.whatsupnix}/bin/whatsupnix
|
||||
${pkgs.whatsupnix}/bin/whatsupnix
|
||||
'';
|
||||
|
||||
hook.get-version = pkgs.writeScript "hook.get-version" /* sh */ ''
|
||||
|
Loading…
Reference in New Issue
Block a user