From bc74968ace7a4b11b5e1bdca4f96f4c935c7cbe8 Mon Sep 17 00:00:00 2001 From: Lainera <20408456+Lainera@users.noreply.github.com> Date: Wed, 20 Nov 2024 21:08:01 -0800 Subject: [PATCH] feat: patch ghostscript Subj, patch ghostscript to make sure 0.10.4 builds Signed-off-by: Lainera <20408456+Lainera@users.noreply.github.com> --- pkgs/by-name/gh/ghostscript/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/gh/ghostscript/package.nix b/pkgs/by-name/gh/ghostscript/package.nix index ccf1daa72ffb7..b4337c8739cd8 100644 --- a/pkgs/by-name/gh/ghostscript/package.nix +++ b/pkgs/by-name/gh/ghostscript/package.nix @@ -155,6 +155,10 @@ stdenv.mkDerivation rec { done ''; + preInstallCheck = if stdenv.hostPlatform.isDarwin then '' + DYLD_LIBRARY_PATH=$out/lib + export DYLD_LIBRARY_PATH + '' else null; # validate dynamic linkage doInstallCheck = true; installCheckPhase = ''