diff options
author | Jan Malakhovski <oxij@oxij.org> | 2018-08-08 21:17:54 +0000 |
---|---|---|
committer | Jan Malakhovski <oxij@oxij.org> | 2018-08-11 09:35:31 +0000 |
commit | c8baf7cc0cebcf8c366b2e915bb6ce4c630ffb25 (patch) | |
tree | 204b76c8a27b24149ba9f2f5bab5826a91fd5b56 | |
parent | 2a3a4ff642ccda363d8db6837c0bd2cffa33506e (diff) |
foo2zjs: make tests run, but disable
-rw-r--r-- | pkgs/misc/drivers/foo2zjs/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/misc/drivers/foo2zjs/default.nix b/pkgs/misc/drivers/foo2zjs/default.nix index e4d2da3afc25..7e1ff01bda05 100644 --- a/pkgs/misc/drivers/foo2zjs/default.nix +++ b/pkgs/misc/drivers/foo2zjs/default.nix @@ -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} |