We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cec514 commit c18e038Copy full SHA for c18e038
pkgs/build-support/trivial-builders/default.nix
@@ -82,6 +82,7 @@ rec {
82
, destination ? ""
83
, checkPhase ? ""
84
, meta ? { }
85
+ , passthru ? { }
86
, allowSubstitutes ? false
87
, preferLocalBuild ? true
88
, derivationArgs ? { }
@@ -105,7 +106,8 @@ rec {
105
106
{
107
mainProgram = lib.head matches;
108
} // meta // derivationArgs.meta or {};
- } // removeAttrs derivationArgs [ "passAsFile" "meta" ])
109
+ passthru = passthru // derivationArgs.passthru or {};
110
+ } // removeAttrs derivationArgs [ "passAsFile" "meta" "passthru" ])
111
''
112
target=$out${lib.escapeShellArg destination}
113
mkdir -p "$(dirname "$target")"
0 commit comments