tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
lrs: set CC, fix cross compilation
Nick Cao
2 years ago
44acd641
30c0a2f7
+8
-7
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
science
math
lrs
default.nix
+8
-7
pkgs/development/libraries/science/math/lrs/default.nix
···
1
1
-
{lib, stdenv, fetchurl, gmp}:
1
1
+
{ lib, stdenv, fetchurl, gmp }:
2
2
3
3
-
stdenv.mkDerivation rec {
3
3
+
stdenv.mkDerivation {
4
4
pname = "lrs";
5
5
version = "7.2";
6
6
···
11
11
12
12
buildInputs = [ gmp ];
13
13
14
14
-
preBuild = ''
15
15
-
export makeFlags="$makeFlags prefix=$out";
16
16
-
'';
14
14
+
makeFlags = [
15
15
+
"prefix=${placeholder "out"}"
16
16
+
"CC:=$(CC)"
17
17
+
];
17
18
18
19
meta = {
19
20
description = "Implementation of the reverse search algorithm for vertex enumeration/convex hull problems";
20
20
-
license = lib.licenses.gpl2 ;
21
21
-
maintainers = [lib.maintainers.raskin];
21
21
+
license = lib.licenses.gpl2;
22
22
+
maintainers = [ lib.maintainers.raskin ];
22
23
platforms = lib.platforms.linux;
23
24
homepage = "http://cgm.cs.mcgill.ca/~avis/C/lrs.html";
24
25
};