eprover: fix build in non-GCC environments

This commit is contained in:
Vincent Laporte 2018-02-14 22:46:12 +00:00
parent ef9666e025
commit e75009ecdc
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

@ -1,4 +1,5 @@
{ stdenv, fetchurl, which }:
stdenv.mkDerivation rec {
name = "eprover-${version}";
version = "2.0";
@ -11,7 +12,7 @@ stdenv.mkDerivation rec {
buildInputs = [ which ];
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";