Skip to content

Commit

Permalink
libpsl: fix Darwin cross-compilation (#347007)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilazy authored Oct 11, 2024
2 parents 5f8188e + ebd2404 commit 986659b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/development/libraries/libpsl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ stdenv.mkDerivation rec {
libidn2
libunistring
libxslt
] ++ lib.optional (!stdenv.hostPlatform.isStatic) python3;
] ++ lib.optional (
!stdenv.hostPlatform.isStatic && (stdenv.hostPlatform.isDarwin -> stdenv.buildPlatform == stdenv.hostPlatform)
) python3;

propagatedBuildInputs = [
publicsuffix-list
Expand Down

0 comments on commit 986659b

Please sign in to comment.