about summary refs log blame commit diff
path: root/nix/writeScriptBin/default.nix
blob: ed26cf197e1e7897a06eba1b6b7220e573156334 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                             
{ depot, ... }:

# Like writeScript,
# but put the script into `$out/bin/${name}`.

name:
script:

depot.nix.binify {
  exe = (depot.nix.writeScript name script);
  inherit name;
}