depot/third_party/tvl/nix/writeScriptBin/default.nix

13 lines
181 B
Nix
Raw Permalink Normal View History

{ depot, ... }:
# Like writeScript,
# but put the script into `$out/bin/${name}`.
name:
script:
depot.nix.binify {
exe = (depot.nix.writeScript name script);
inherit name;
}