diff options
author | Cillian de Róiste <goibhniu@fsfe.org> | 2013-11-10 00:32:17 +0100 |
---|---|---|
committer | Cillian de Róiste <goibhniu@fsfe.org> | 2013-11-10 00:38:42 +0100 |
commit | 80e2706e51cad94cefa7c020e84455e7664b8602 (patch) | |
tree | 1be4a055604e96b0533973827ec08ccd674ea830 /pkgs/misc/drivers/gutenprint | |
parent | 78c76daf1643ce0e38e51211b8f7792711f1e7ed (diff) |
gutenprint: fix the cupsd driver
Diffstat (limited to 'pkgs/misc/drivers/gutenprint')
-rw-r--r-- | pkgs/misc/drivers/gutenprint/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/misc/drivers/gutenprint/default.nix b/pkgs/misc/drivers/gutenprint/default.nix index 9a1c46e922b4..77b3a22f4648 100644 --- a/pkgs/misc/drivers/gutenprint/default.nix +++ b/pkgs/misc/drivers/gutenprint/default.nix @@ -1,6 +1,6 @@ # this package was called gimp-print in the past { fetchurl, stdenv, pkgconfig, composableDerivation, cups -, libtiff, libpng, openssl, gimp }: +, libtiff, libpng, makeWrapper, openssl, gimp }: let version = "5.2.9"; @@ -16,7 +16,7 @@ composableDerivation.composableDerivation {} { }; # gimp, gui is still not working (TODO) - buildInputs = [ openssl pkgconfig ]; + buildInputs = [ makeWrapper openssl pkgconfig ]; configureFlags = ["--enable-static-genppd"]; NIX_CFLAGS_COMPILE="-include stdio.h"; @@ -37,6 +37,9 @@ composableDerivation.composableDerivation {} { installPhase = '' eval "make install $installArgs" + mkdir -p $out/lib/cups + ln -s $out/filter $out/lib/cups/ + wrapProgram $out/filter/rastertogutenprint.5.2 --prefix LD_LIBRARY_PATH : $out/lib ''; meta = { |