diff --git a/pkgs/development/libraries/freeimage/default.nix b/pkgs/development/libraries/freeimage/default.nix index c3cfa6e8c87b..2cfb5d3522f9 100644 --- a/pkgs/development/libraries/freeimage/default.nix +++ b/pkgs/development/libraries/freeimage/default.nix @@ -10,9 +10,12 @@ stdenv.mkDerivation { sed -e s@/usr/@$out/@ \ -e 's@-o root -g root@@' \ -e 's@ldconfig@echo not running ldconfig@' \ - -i Makefile.gnu + -i Makefile.gnu Makefile.fip ''; + + postBuild = "make -f Makefile.fip"; preInstall = "mkdir -p $out/include $out/lib"; + postInstall = "make -f Makefile.fip install"; meta = { description = "Open Source library for accessing popular graphics image file formats";