Skip to content

Commit

Permalink
ghostscript: fix installCheck on aarch64-darwin (#355853)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilazy authored Nov 17, 2024
2 parents c22b78a + 229a8f7 commit 47e2bdc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/misc/ghostscript/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ stdenv.mkDerivation rec {

# validate dynamic linkage
doInstallCheck = true;
preInstallCheck = if stdenv.hostPlatform.isDarwin then ''
DYLD_LIBRARY_PATH=$out/lib
export DYLD_LIBRARY_PATH
'' else null;
installCheckPhase = ''
runHook preInstallCheck
Expand Down

0 comments on commit 47e2bdc

Please sign in to comment.