3
0
Fork 0
forked from mirrors/nixpkgs

trivial-builders: add meta to writeShellApplication

This commit is contained in:
Sridhar Ratnakumar 2023-08-25 09:38:21 -04:00 committed by GitHub
parent 5f139d8cd6
commit 250d324776
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -336,10 +336,11 @@ rec {
{ name
, text
, runtimeInputs ? [ ]
, meta ? { }
, checkPhase ? null
}:
writeTextFile {
inherit name;
inherit name meta;
executable = true;
destination = "/bin/${name}";
allowSubstitutes = true;