Skip to content

Commit

Permalink
proj: Patch test OPEN_MAX limit assumption
Browse files Browse the repository at this point in the history
One of the tests had a Linux-based assumption on the number of files
that can be opened. I have submitted this patch upstream here,
OSGeo/PROJ#2934, and it's been merged but I
don't expect to be able to update to a release before ZHF ends.

ZHF: NixOS#144627

Fixes NixOS#142875
  • Loading branch information
toonn committed Nov 10, 2021
1 parent f513127 commit dbfee32
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/development/libraries/proj/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, pkg-config
, sqlite
Expand All @@ -20,6 +21,12 @@ stdenv.mkDerivation rec {
sha256 = "sha256-Z2nruyowC3NG4Wb8AFBL0PME/zp9D7SwQdMSl6VjH/w=";
};

patches = [ (fetchpatch {
url = "https://github.com/OSGeo/PROJ/commit/ac113a8898cded7f5359f1edd3abc17a78eee9b4.patch";
sha256 = "0gz2xa5nxzck5c0yr7cspv3kw4cz3fxb2yic76w7qfvxidi7z1s1";
})
];

outputs = [ "out" "dev"];

nativeBuildInputs = [ cmake pkg-config ];
Expand Down

0 comments on commit dbfee32

Please sign in to comment.