mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
fix sloccount build
This commit is contained in:
parent
ee1542c948
commit
c7028192c2
@ -29,10 +29,7 @@ stdenv.mkDerivation rec {
|
||||
done
|
||||
'';
|
||||
|
||||
configurePhase = ''
|
||||
sed -i "makefile" -"es|PREFIX[[:blank:]]*=.*$|PREFIX = $out|g"
|
||||
sed -i "makefile" -"es|gcc|$CC|g"
|
||||
'';
|
||||
makeFlags = "PREFIX=$(out) CC=cc";
|
||||
|
||||
doCheck = true;
|
||||
checkPhase = ''HOME="$TMPDIR" PATH="$PWD:$PATH" make test'';
|
||||
|
Loading…
Reference in New Issue
Block a user