depot/third_party/tvl/nix/writeScriptBin/default.nix
Default email c4fb0432ae Project import generated by Copybara.
GitOrigin-RevId: 3fc1143a04da49a92c3663813c6a0c1e8ccd477f
2020-09-29 23:42:59 -04:00

12 lines
181 B
Nix

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