Skip to content

Commit

Permalink
Merge pull request #230849 from azahi/gsl-lite-zhf
Browse files Browse the repository at this point in the history
gsl-lite: fix tests
  • Loading branch information
wegank authored May 9, 2023
2 parents 7cc0865 + b3ca04a commit 7f57da3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/development/libraries/gsl-lite/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, ninja
, installCompatHeader ? false
Expand All @@ -18,6 +19,14 @@ stdenv.mkDerivation rec {
hash = "sha256-cuuix302bVA7dWa7EJoxJ+otf1rSzjWQK8DHJsVkQio=";
};

patches = [
(fetchpatch {
name = "type-limits-cast-fix.patch";
url = "https://github.com/gsl-lite/gsl-lite/commit/13475be0e5bf5f464c398f4a07ef5c7684bc57c5.patch";
hash = "sha256-rSz7OBmgQ3KcQ971tS3Z3QNC+U4XmrPjgmuOyG7J6Bo=";
})
];

nativeBuildInputs = [ cmake ninja ];

cmakeFlags = lib.mapAttrsToList
Expand Down

0 comments on commit 7f57da3

Please sign in to comment.