a291c8690a
GitOrigin-RevId: e6e19f3d81a982a62e1bba08f0b4f7fdc21b4ea0
15 lines
218 B
Nix
15 lines
218 B
Nix
{ depot, pkgs, ... }:
|
|
|
|
let
|
|
bins = depot.nix.getBins pkgs.coreutils [ "printf" ];
|
|
|
|
# printf(1), but redirect to stderr
|
|
in
|
|
depot.nix.writeExecline "eprintf" { } [
|
|
"fdmove"
|
|
"-c"
|
|
"1"
|
|
"2"
|
|
bins.printf
|
|
"$@"
|
|
]
|