Skip to content

Commit

Permalink
ghostscript: fix installCheck on aarch64-darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
tobim committed Nov 16, 2024
1 parent b320dc9 commit 229a8f7
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 229a8f7

Please sign in to comment.