mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
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 {
|
||||
name = "foo2zjs-20180519";
|
||||
|
@ -39,6 +39,9 @@ stdenv.mkDerivation rec {
|
|||
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 = ''
|
||||
mkdir -pv $out/{etc/udev/rules.d,lib/udev/rules.d,etc/hotplug/usb}
|
||||
mkdir -pv $out/share/foomatic/db/source/{opt,printer,driver}
|
||||
|
|
Loading…
Reference in a new issue