diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2020-03-01 15:38:32 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2020-03-01 15:40:29 +0100 |
commit | 43ea7f1c0a1611250dddfda076fb3fc1962702fe (patch) | |
tree | 8a4d1b25ed6396697943170dc48fb67b7daffd7f /pkgs/tools/graphics/netpbm | |
parent | 44f69611ad87338f9730482f0eede74be9ae38c3 (diff) |
netpbm: Hardcode rgb.txt path
We did that in the past with rgbpaths.patch in the past but it was eventually removed. This fixes the regression.
Diffstat (limited to 'pkgs/tools/graphics/netpbm')
-rw-r--r-- | pkgs/tools/graphics/netpbm/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/netpbm/default.nix b/pkgs/tools/graphics/netpbm/default.nix index e0d44dc723bf1..78c12e3b8dce5 100644 --- a/pkgs/tools/graphics/netpbm/default.nix +++ b/pkgs/tools/graphics/netpbm/default.nix @@ -65,6 +65,9 @@ stdenv.mkDerivation { echo "TIFFLIB_NEEDS_JPEG = N" >> config.mk echo "TIFFLIB_NEEDS_Z = N" >> config.mk echo "JPEGLIB = libjpeg.so" >> config.mk + + # Fix path to rgb.txt + echo "RGB_DB_PATH = $out/share/netpbm/misc/rgb.txt" >> config.mk '' + stdenv.lib.optionalString stdenv.isDarwin '' echo "LDSHLIB=-dynamiclib -install_name $out/lib/libnetpbm.\$(MAJ).dylib" >> config.mk echo "NETPBMLIBTYPE = dylib" >> config.mk |