From d0888d150333a2c523cd1e46606d6219afe23dc2 Mon Sep 17 00:00:00 2001 From: Vladimír Čunát Date: Tue, 21 Aug 2018 12:05:01 +0200 Subject: 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. --- pkgs/applications/graphics/exrtools/default.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pkgs/applications/graphics') diff --git a/pkgs/applications/graphics/exrtools/default.nix b/pkgs/applications/graphics/exrtools/default.nix index 7980d09fed12..01af81d4de74 100644 --- a/pkgs/applications/graphics/exrtools/default.nix +++ b/pkgs/applications/graphics/exrtools/default.nix @@ -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 ]; -- cgit 1.4.1