From e97054e30bede45e5ac55321fdd722c61434bce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 4 May 2023 21:16:02 +0200 Subject: [PATCH] gnuplot: use lib.makeBinPath to condense wrapper --- pkgs/tools/graphics/gnuplot/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/tools/graphics/gnuplot/default.nix b/pkgs/tools/graphics/gnuplot/default.nix index c95ec79534eb..cfaae6986906 100644 --- a/pkgs/tools/graphics/gnuplot/default.nix +++ b/pkgs/tools/graphics/gnuplot/default.nix @@ -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}'