mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
zchaff: use clangStdenv
Fixes build on Linux
This commit is contained in:
parent
3c31489f15
commit
519f0b9e58
@ -1,6 +1,6 @@
|
||||
{ lib, stdenv, fetchurl }:
|
||||
{ lib, clangStdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
clangStdenv.mkDerivation rec {
|
||||
pname = "zchaff";
|
||||
version = "2004.5.13";
|
||||
|
||||
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
patches = [ ./sat_solver.patch ];
|
||||
makeFlags = [ "CC=${stdenv.cc.targetPrefix}c++" ];
|
||||
makeFlags = [ "CC=${clangStdenv.cc.targetPrefix}c++" ];
|
||||
installPhase= ''
|
||||
runHook preInstall
|
||||
install -Dm755 -t $out/bin zchaff
|
||||
|
Loading…
Reference in New Issue
Block a user