mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 20:07:59 +00:00
gnuplot-qt: fix wrapper
This commit is contained in:
parent
a3cad4378e
commit
a2332386df
@ -53,11 +53,18 @@ in
|
||||
|
||||
CXXFLAGS = lib.optionalString (stdenv.isDarwin && withQt) "-std=c++11";
|
||||
|
||||
# we'll wrap things ourselves
|
||||
dontWrapGApps = true;
|
||||
dontWrapQtApps = true;
|
||||
|
||||
# binary wrappers don't support --run
|
||||
postInstall = lib.optionalString withX ''
|
||||
wrapProgram $out/bin/gnuplot \
|
||||
wrapProgramShell $out/bin/gnuplot \
|
||||
--prefix PATH : '${gnused}/bin' \
|
||||
--prefix PATH : '${coreutils}/bin' \
|
||||
--prefix PATH : '${fontconfig.bin}/bin' \
|
||||
"''${gappsWrapperArgs[@]}" \
|
||||
"''${qtWrapperArgs[@]}" \
|
||||
--run '. ${./set-gdfontpath-from-fontconfig.sh}'
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user