about summary refs log tree commit diff
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authorAristid Breitkreuz <aristidb@gmail.com>2016-01-07 22:55:20 +0100
committerAristid Breitkreuz <aristidb@gmail.com>2016-01-07 22:55:20 +0100
commitfa6ec6b057d69f9d07ce4418aa45757b9a3abe82 (patch)
treec6f5f901dd3c189aeef811cc2a4b6e53c202ba64 /pkgs/applications/graphics
parent6acad9ea0443d39b1dc9a0df7c33b4d67709cfd8 (diff)
downloadnixlib-fa6ec6b057d69f9d07ce4418aa45757b9a3abe82.tar
nixlib-fa6ec6b057d69f9d07ce4418aa45757b9a3abe82.tar.gz
nixlib-fa6ec6b057d69f9d07ce4418aa45757b9a3abe82.tar.bz2
nixlib-fa6ec6b057d69f9d07ce4418aa45757b9a3abe82.tar.lz
nixlib-fa6ec6b057d69f9d07ce4418aa45757b9a3abe82.tar.xz
nixlib-fa6ec6b057d69f9d07ce4418aa45757b9a3abe82.tar.zst
nixlib-fa6ec6b057d69f9d07ce4418aa45757b9a3abe82.zip
mozjpeg: fix libpng dependency
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r--pkgs/applications/graphics/mozjpeg/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/applications/graphics/mozjpeg/default.nix b/pkgs/applications/graphics/mozjpeg/default.nix
index 2845bfd3e27b..1b082de98bc7 100644
--- a/pkgs/applications/graphics/mozjpeg/default.nix
+++ b/pkgs/applications/graphics/mozjpeg/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, file, libpng, nasm }:
+{ stdenv, fetchurl, file, pkgconfig, libpng, nasm }:
 
 stdenv.mkDerivation rec {
   version = "3.1";
@@ -10,11 +10,10 @@ stdenv.mkDerivation rec {
   };
 
   postPatch = ''
-
     sed -i -e "s!/usr/bin/file!${file}/bin/file!g" configure
   '';
 
-  buildInputs = [ libpng nasm ];
+  buildInputs = [ libpng pkgconfig nasm ];
 
   meta = {
     description = "Mozilla JPEG Encoder Project";