3
0
Fork 0
forked from mirrors/nixpkgs

flutter: build-support: allow customizing wrapProgram args

This commit is contained in:
gilice 2023-05-14 17:10:49 +02:00
parent dd69797eae
commit 8991fac305

View file

@ -21,6 +21,7 @@
, nativeBuildInputs ? [ ]
, preUnpack ? ""
, postFixup ? ""
, extraWrapProgramArgs ? ""
, ...
}@args:
let
@ -121,7 +122,8 @@ let
# which is not what application authors expect.
for f in "$out"/bin/*; do
wrapProgram "$f" \
--suffix LD_LIBRARY_PATH : '${lib.makeLibraryPath finalAttrs.runtimeDependencies}'
--suffix LD_LIBRARY_PATH : '${lib.makeLibraryPath finalAttrs.runtimeDependencies}' \
${extraWrapProgramArgs}
done
${postFixup}