diff --git a/pkgs/development/libraries/libgphoto2/default.nix b/pkgs/development/libraries/libgphoto2/default.nix index 55129a94476a..af8c1a8f1a21 100644 --- a/pkgs/development/libraries/libgphoto2/default.nix +++ b/pkgs/development/libraries/libgphoto2/default.nix @@ -8,6 +8,12 @@ stdenv.mkDerivation rec { sha256 = "1wjf79ipqwb5phfjjwf15rwgigakylnfqaj4crs5qnds6ba6i1ld"; }; + patches = [(fetchurl { + url = "https://anonscm.debian.org/cgit/pkg-phototools/libgphoto2.git/plain" + + "/debian/patches/libjpeg_turbo_1.5.0_fix.patch?id=8ce79a2a02d"; + sha256 = "114iyhk6idxz2jhnzpf1glqm6d0x0y8cqfpqxz9i96q9j7x3wwin"; + })]; + nativeBuildInputs = [ pkgconfig gettext ]; buildInputs = [ libtool libjpeg libusb1 ];