foo2zjs: make tests run, but disable
This commit is contained in:
parent
2a3a4ff642
commit
c8baf7cc0c
1 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, foomatic-filters, bc, unzip, ghostscript, systemd, vim }:
|
{ stdenv, fetchurl, foomatic-filters, bc, unzip, ghostscript, systemd, vim, time }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "foo2zjs-20180519";
|
name = "foo2zjs-20180519";
|
||||||
|
@ -39,6 +39,9 @@ stdenv.mkDerivation rec {
|
||||||
sed -e "/PRINTERID=/s@=.*@=$out/bin/usb_printerid@" -i hplj1000
|
sed -e "/PRINTERID=/s@=.*@=$out/bin/usb_printerid@" -i hplj1000
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
checkInputs = [ time ];
|
||||||
|
doCheck = false; # fails to find its own binary. Also says "Tests will pass only if you are using ghostscript-8.71-16.fc14".
|
||||||
|
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
mkdir -pv $out/{etc/udev/rules.d,lib/udev/rules.d,etc/hotplug/usb}
|
mkdir -pv $out/{etc/udev/rules.d,lib/udev/rules.d,etc/hotplug/usb}
|
||||||
mkdir -pv $out/share/foomatic/db/source/{opt,printer,driver}
|
mkdir -pv $out/share/foomatic/db/source/{opt,printer,driver}
|
||||||
|
|
Loading…
Reference in a new issue