feat(nix/getBins): add getBins
This is a simple-stupid “unix import system” for nix, for referencing binaries in `/bin/` by their name and lifting them to a Nix attrset. Allows for simple aliasing of executable names. Change-Id: Ifa23cb377201c3b08050c5026e9751e736afaf56 Reviewed-on: https://cl.tvl.fyi/c/depot/+/664 Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
parent
15335e7b3d
commit
98a990c6a6
5 changed files with 93 additions and 0 deletions
1
third_party/default.nix
vendored
1
third_party/default.nix
vendored
|
|
@ -132,6 +132,7 @@ let
|
|||
tree
|
||||
which
|
||||
writeScript
|
||||
writeScriptBin
|
||||
writeShellScript
|
||||
writeShellScriptBin
|
||||
writeText
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue