Skip to content

Commit

Permalink
Merge pull request NixOS#303941 from wegank/proj-clang-16
Browse files Browse the repository at this point in the history
geos, proj: unpin stdenv on darwin
  • Loading branch information
wegank authored Apr 15, 2024
2 parents 3e3a00c + fa0c748 commit c5b6949
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/libraries/geos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ stdenv.mkDerivation (finalAttrs: {

nativeBuildInputs = [ cmake ];

# https://github.com/libgeos/geos/issues/930
cmakeFlags = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [
"-DCMAKE_CTEST_ARGUMENTS=--exclude-regex;unit-geom-Envelope"
];

doCheck = true;

passthru.tests = {
Expand Down
8 changes: 2 additions & 6 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21072,9 +21072,7 @@ with pkgs;

geomyidae = callPackage ../applications/networking/gopher/geomyidae { };

geos = callPackage ../development/libraries/geos {
stdenv = if stdenv.cc.isClang then overrideLibcxx llvmPackages_14.stdenv else stdenv;
};
geos = callPackage ../development/libraries/geos { };

geos_3_9 = callPackage ../development/libraries/geos/3.9.nix { };

Expand Down Expand Up @@ -24047,9 +24045,7 @@ with pkgs;

prime-server = callPackage ../development/libraries/prime-server { };

proj = callPackage ../development/libraries/proj {
stdenv = if stdenv.cc.isClang then overrideLibcxx llvmPackages_13.stdenv else stdenv;
};
proj = callPackage ../development/libraries/proj { };

proj_7 = callPackage ../development/libraries/proj/7.nix { };

Expand Down

0 comments on commit c5b6949

Please sign in to comment.