tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
gsl-lite: fix tests
Azat Bahawi
2 years ago
b3ca04a4
68688454
+9
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
gsl-lite
default.nix
+9
pkgs/development/libraries/gsl-lite/default.nix
···
1
{ lib
2
, stdenv
3
, fetchFromGitHub
0
4
, cmake
5
, ninja
6
, installCompatHeader ? false
···
17
rev = "v${version}";
18
hash = "sha256-cuuix302bVA7dWa7EJoxJ+otf1rSzjWQK8DHJsVkQio=";
19
};
0
0
0
0
0
0
0
0
20
21
nativeBuildInputs = [ cmake ninja ];
22
···
1
{ lib
2
, stdenv
3
, fetchFromGitHub
4
+
, fetchpatch
5
, cmake
6
, ninja
7
, installCompatHeader ? false
···
18
rev = "v${version}";
19
hash = "sha256-cuuix302bVA7dWa7EJoxJ+otf1rSzjWQK8DHJsVkQio=";
20
};
21
+
22
+
patches = [
23
+
(fetchpatch {
24
+
name = "type-limits-cast-fix.patch";
25
+
url = "https://github.com/gsl-lite/gsl-lite/commit/13475be0e5bf5f464c398f4a07ef5c7684bc57c5.patch";
26
+
hash = "sha256-rSz7OBmgQ3KcQ971tS3Z3QNC+U4XmrPjgmuOyG7J6Bo=";
27
+
})
28
+
];
29
30
nativeBuildInputs = [ cmake ninja ];
31