gsl-lite: fix tests
This commit is contained in:
parent
6868845472
commit
b3ca04a48a
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, cmake
|
, cmake
|
||||||
, ninja
|
, ninja
|
||||||
, installCompatHeader ? false
|
, installCompatHeader ? false
|
||||||
|
@ -18,6 +19,14 @@ stdenv.mkDerivation rec {
|
||||||
hash = "sha256-cuuix302bVA7dWa7EJoxJ+otf1rSzjWQK8DHJsVkQio=";
|
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 ];
|
nativeBuildInputs = [ cmake ninja ];
|
||||||
|
|
||||||
cmakeFlags = lib.mapAttrsToList
|
cmakeFlags = lib.mapAttrsToList
|
||||||
|
|
Loading…
Reference in a new issue