mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
gutenprint: fix the cupsd driver
This commit is contained in:
parent
78c76daf16
commit
80e2706e51
1 changed files with 5 additions and 2 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue