mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
gnuplot: use lib.makeBinPath to condense wrapper
This commit is contained in:
parent
c11230f651
commit
e97054e30b
@ -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}'
|
||||
|
Loading…
Reference in New Issue
Block a user