Skip to content

Commit

Permalink
gsl-lite: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
azahi committed May 9, 2023
1 parent 6868845 commit b3ca04a
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 b3ca04a

Please sign in to comment.