3
0
Fork 0
forked from mirrors/nixpkgs

gnuplot: use lib.makeBinPath to condense wrapper

This commit is contained in:
Sandro Jäckel 2023-05-04 21:16:02 +02:00
parent c11230f651
commit e97054e30b
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -60,9 +60,7 @@ in
# binary wrappers don't support --run
postInstall = lib.optionalString withX ''
wrapProgramShell $out/bin/gnuplot \
--prefix PATH : '${gnused}/bin' \
--prefix PATH : '${coreutils}/bin' \
--prefix PATH : '${fontconfig.bin}/bin' \
--prefix PATH : '${lib.makeBinPath [ gnused coreutils fontconfig.bin ]}' \
"''${gappsWrapperArgs[@]}" \
"''${qtWrapperArgs[@]}" \
--run '. ${./set-gdfontpath-from-fontconfig.sh}'