cupsd: add bindirCmds so that you can test other backends easier.

svn path=/nixos/trunk/; revision=16879
This commit is contained in:
Marc Weber 2009-08-27 23:16:09 +00:00
parent 2892aed712
commit 39e12e13c4

View File

@ -15,6 +15,13 @@ let
"; ";
}; };
bindirCmds = mkOption {
default = "";
description = "
add commands adding additional symlinks to the bindir such as bjnp
";
};
}; };
}; };
}; };
@ -31,6 +38,7 @@ let
modprobe = config.system.sbin.modprobe; modprobe = config.system.sbin.modprobe;
cfg = config.services.printing;
# Here we can enable additional backends, filters, etc. that are not # Here we can enable additional backends, filters, etc. that are not
# part of CUPS itself, e.g. the SMB backend is part of Samba. Since # part of CUPS itself, e.g. the SMB backend is part of Samba. Since
@ -56,6 +64,7 @@ let
ensureDir $out/lib/cups/filter ensureDir $out/lib/cups/filter
ln -s ${cups}/lib/cups/filter/* $out/lib/cups/filter/ ln -s ${cups}/lib/cups/filter/* $out/lib/cups/filter/
ln -s ${pkgs.ghostscript}/lib/cups/filter/* $out/lib/cups/filter/ ln -s ${pkgs.ghostscript}/lib/cups/filter/* $out/lib/cups/filter/
${cfg.bindirCmds}
''; # */ ''; # */