writeShellApplication: add passthru argument
This commit is contained in:
parent
f4789133b8
commit
d04d2858c9
@ -222,6 +222,12 @@ rec {
|
|||||||
Type: AttrSet
|
Type: AttrSet
|
||||||
*/
|
*/
|
||||||
meta ? { },
|
meta ? { },
|
||||||
|
/*
|
||||||
|
`stdenv.mkDerivation`'s `passthru` argument.
|
||||||
|
|
||||||
|
Type: AttrSet
|
||||||
|
*/
|
||||||
|
passthru ? { },
|
||||||
/*
|
/*
|
||||||
The `checkPhase` to run. Defaults to `shellcheck` on supported
|
The `checkPhase` to run. Defaults to `shellcheck` on supported
|
||||||
platforms and `bash -n`.
|
platforms and `bash -n`.
|
||||||
@ -265,7 +271,7 @@ rec {
|
|||||||
derivationArgs ? { },
|
derivationArgs ? { },
|
||||||
}:
|
}:
|
||||||
writeTextFile {
|
writeTextFile {
|
||||||
inherit name meta derivationArgs;
|
inherit name meta passthru derivationArgs;
|
||||||
executable = true;
|
executable = true;
|
||||||
destination = "/bin/${name}";
|
destination = "/bin/${name}";
|
||||||
allowSubstitutes = true;
|
allowSubstitutes = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user