Skip to content

Commit

Permalink
proj: replace stdenv.is with stdenv.hostPlatform.is
Browse files Browse the repository at this point in the history
  • Loading branch information
imincik committed Sep 27, 2024
1 parent 58482ba commit 8c2227b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/proj/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: {

preCheck =
let
libPathEnvVar = if stdenv.isDarwin then "DYLD_LIBRARY_PATH" else "LD_LIBRARY_PATH";
libPathEnvVar = if stdenv.hostPlatform.isDarwin then "DYLD_LIBRARY_PATH" else "LD_LIBRARY_PATH";
in
''
export HOME=$TMPDIR
Expand Down

0 comments on commit 8c2227b

Please sign in to comment.