treewide: fixup breakage due to absolute compiler path

Some packages just can't handle them #44767.  It was tempting to try
to abstract this in some way, but I didn't do that ATM.
This commit is contained in:
Vladimír Čunát
2018-08-21 12:34:33 +02:00
parent b300dddae1
commit d0888d1503
10 changed files with 46 additions and 0 deletions
@@ -9,6 +9,11 @@ stdenv.mkDerivation rec {
sha256 = "0jpkskqs1yjiighab4s91jy0c0qxcscwadfn94xy2mm2bx2qwp4z";
};
preConfigure = ''
CC=${stdenv.cc.targetPrefix}cc
CXX=${stdenv.cc.targetPrefix}c++
'';
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ stdenv openexr libpng12 libjpeg ];