tvl-depot/nix
Profpatsch 4402c363b6 feat(nix/runExecline): add runExecline
runExecline is a primitive that just does not care.

It’s similar to `runCommand`, but instead of concatenating bash
scripts left and right, it actually *uses* the features of
`derivation`, passing things to `args` and making it possible to
overwrite the `builder` in a sensible manner.

Additionally, it provides a way to pass a nix string to `stdin` of the
build script.

Similar to `writeExecline`, the passed script is not a string, but a
nested list of nix lists representing execline blocks. Escaping is
done by the implementation, the user can just use normal nix strings.

Change-Id: I890d9e5d921207751cdc8cc4309381395d92742f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/701
Reviewed-by: BuildkiteCI
Reviewed-by: isomer <isomer@tvl.fyi>
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
2020-06-29 22:58:47 +00:00
..
binify feat(nix/binify): add binify 2020-06-27 03:42:05 +00:00
buildGo fix(nix/buildGo): Fix import of buildGo in example file 2020-06-15 16:50:54 +00:00
buildLisp chore: Rename pkgs->depot in all Nix file headers 2020-02-21 13:54:53 +00:00
buildTypedGo fix(buildTypedGo): Pass correct arguments to .package 2020-06-19 15:25:11 +00:00
emptyDerivation feat(nix/emptyDerivation) add emptyDerivation 2020-06-28 17:59:46 +00:00
escapeExecline refactor(nix/escapeExecline): move into own directory 2020-06-29 22:58:32 +00:00
getBins feat(nix/getBins): add getBins 2020-06-28 17:58:15 +00:00
readTree fix(nix/readTree): Ignore hidden files and directories 2020-06-13 20:08:05 +00:00
runExecline feat(nix/runExecline): add runExecline 2020-06-29 22:58:47 +00:00
runTestsuite feat(nix/runTestsuite): add runTestsuite 2020-06-28 03:52:40 +00:00
tailscale chore: Rename pkgs->depot in all Nix file headers 2020-02-21 13:54:53 +00:00
writeExecline refactor(nix/escapeExecline): move into own directory 2020-06-29 22:58:32 +00:00
yants feat(nix/yants): add unit type 2020-06-27 20:48:15 +00:00