summary refs log tree commit diff
path: root/pkgs/misc/cups/filters.nix
diff options
context:
space:
mode:
authorBrandon Dimcheff <bdimchef-git@wieldim.com>2015-10-19 21:07:21 -0400
committerVladimír Čunát <vcunat@gmail.com>2015-10-20 17:09:42 +0200
commitc0a963e3cc6bd9c049f6db198a6acf92ee795e4e (patch)
treed908feac777c868ce79f95a911607c9f231c0045 /pkgs/misc/cups/filters.nix
parent1c48e74a33069a90e3c210b3198af2ec33c519b1 (diff)
downloadnixpkgs-c0a963e3cc6bd9c049f6db198a6acf92ee795e4e.tar
nixpkgs-c0a963e3cc6bd9c049f6db198a6acf92ee795e4e.tar.gz
nixpkgs-c0a963e3cc6bd9c049f6db198a6acf92ee795e4e.tar.bz2
nixpkgs-c0a963e3cc6bd9c049f6db198a6acf92ee795e4e.tar.lz
nixpkgs-c0a963e3cc6bd9c049f6db198a6acf92ee795e4e.tar.xz
nixpkgs-c0a963e3cc6bd9c049f6db198a6acf92ee795e4e.tar.zst
nixpkgs-c0a963e3cc6bd9c049f6db198a6acf92ee795e4e.zip
cups-filters: make shell string longer (close #10493)
The cstring for the shell path is too short for nixos in cups-filters,
causing it to be truncated.  This was previously fixed in #5428, but
regressed.

This is a permanent solution accepted even upstream
https://bugs.linuxfoundation.org/show_bug.cgi?id=1325
http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/revision/7401
Diffstat (limited to 'pkgs/misc/cups/filters.nix')
-rw-r--r--pkgs/misc/cups/filters.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/misc/cups/filters.nix b/pkgs/misc/cups/filters.nix
index a860273e9eb..b4b3a5a0624 100644
--- a/pkgs/misc/cups/filters.nix
+++ b/pkgs/misc/cups/filters.nix
@@ -10,11 +10,14 @@ stdenv.mkDerivation rec {
     sha256 = "07wwlqcykfjfqcwj1bxk60ggahyaw7wcx32n5s104d1qkhham01i";
   };
 
-  patches = [(fetchpatch { # drop on update
-    name = "poppler-0.34.patch";
-    url = "https://bugs.linuxfoundation.org/attachment.cgi?id=493";
-    sha256 = "18za83q0b0n4hpvvw76jsv0hm89zmijvps2z5kg1srickqlxj891";
-  })];
+  patches = [
+    ./longer-shell-path.patch
+    (fetchpatch { # drop on update
+      name = "poppler-0.34.patch";
+      url = "https://bugs.linuxfoundation.org/attachment.cgi?id=493";
+      sha256 = "18za83q0b0n4hpvvw76jsv0hm89zmijvps2z5kg1srickqlxj891";
+    })
+  ];
 
   buildInputs = [
     pkgconfig cups poppler poppler_utils fontconfig libjpeg libpng perl