mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
Fix GZip build on Illumos
This commit is contained in:
parent
c019cdb761
commit
fcce211c8e
|
@ -8,6 +8,10 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0wx1nqk709kx75cwp2axachnbxryp4gyl06qxn5nl95184w0mhls";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
||||
patches = [ ./skip-some-tests.patch ];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.gnu.org/software/gzip/;
|
||||
description = "Gzip, the GNU zip compression program";
|
||||
|
|
21
pkgs/tools/compression/gzip/skip-some-tests.patch
Normal file
21
pkgs/tools/compression/gzip/skip-some-tests.patch
Normal file
|
@ -0,0 +1,21 @@
|
|||
Skip tests requiring Perl and less (more).
|
||||
Also zgrep-signal skipping fails with weird Bad file number error on illumos.
|
||||
--- gzip-1.5/tests/Makefile.in.orig 2013-02-23 15:15:08.017048868 +0000
|
||||
+++ gzip-1.5/tests/Makefile.in 2013-02-23 15:15:32.756197039 +0000
|
||||
@@ -1421,7 +1421,6 @@
|
||||
trailing-nul \
|
||||
zdiff \
|
||||
zgrep-f \
|
||||
- zgrep-signal \
|
||||
znew-k
|
||||
|
||||
EXTRA_DIST = \
|
||||
@@ -1441,8 +1440,6 @@
|
||||
zfgrep \
|
||||
zforce \
|
||||
zgrep \
|
||||
- zless \
|
||||
- zmore \
|
||||
znew
|
||||
|
||||
TESTS_ENVIRONMENT = \
|
Loading…
Reference in a new issue