Merge pull request #34986 from vbgl/eprover-no-gcc
eprover: fix build in non-GCC environments
This commit is contained in:
commit
ca7b1e64d7
|
@ -1,4 +1,5 @@
|
||||||
{ stdenv, fetchurl, which }:
|
{ stdenv, fetchurl, which }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "eprover-${version}";
|
name = "eprover-${version}";
|
||||||
version = "2.0";
|
version = "2.0";
|
||||||
|
@ -11,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [ which ];
|
buildInputs = [ which ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
sed -e 's/ *CC *= gcc$//' -i Makefile.vars
|
sed -e 's/ *CC *= *gcc$//' -i Makefile.vars
|
||||||
'';
|
'';
|
||||||
configureFlags = "--exec-prefix=$(out) --man-prefix=$(out)/share/man";
|
configureFlags = "--exec-prefix=$(out) --man-prefix=$(out)/share/man";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue