Skip to content

Commit

Permalink
freeimage: cleanup suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
  • Loading branch information
kevinmehall and SuperSandro2000 committed Jun 3, 2022
1 parent 5dcb09d commit 6ffe410
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pkgs/development/libraries/freeimage/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@ stdenv.mkDerivation {
sourceRoot = "svn-r1900/FreeImage/trunk";

# Ensure that the bundled libraries are not used at all
prePatch = "rm -rf Source/Lib* Source/OpenEXR Source/ZLib";
patches = [ ./unbundle.diff ./libtiff-4.4.0.diff ];
prePatch = ''
rm -rf Source/Lib* Source/OpenEXR Source/ZLib
'';
patches = [
./unbundle.diff
./libtiff-4.4.0.diff
];

postPatch = ''
# To support cross compilation, use the correct `pkg-config`.
Expand Down

0 comments on commit 6ffe410

Please sign in to comment.