Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

treewide: enable working, fix fixable, disable broken tests #44825

Merged
merged 123 commits into from
Aug 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
b135329
treewide: random cleanups
oxij Aug 8, 2018
6969f37
libsoup: cleanup
oxij Aug 8, 2018
2781c7d
fossil: cleanup tests
oxij Aug 8, 2018
ee90a2d
libpng: cleanup tests
oxij Aug 8, 2018
0317cc0
nlohmann_json: cleanup tests
oxij Aug 8, 2018
f01ff65
libtoxcore: cleanup tests
oxij Aug 8, 2018
86999f6
libminc: cleanup tests
oxij Aug 8, 2018
7ea0904
openssl: fix tests, also cleanup
oxij Aug 8, 2018
9808244
harfbuzz: fix tests, also cleanup
oxij Aug 8, 2018
1662443
utox: use checkInputs, also cleanup
oxij Aug 8, 2018
1cb5967
radiotray-ng: use checkInputs, but disable tests, also cleanup
oxij Aug 8, 2018
50556b5
gstreamer: make tests run, but disable, also cleanup
oxij Aug 8, 2018
995c506
libsecret: make tests run, but disable, also cleanup
oxij Aug 8, 2018
9bab07e
automake111x: disable tests, also cleanup
oxij Aug 10, 2018
cf84bc0
automake116x: disable tests, also cleanup
oxij Aug 10, 2018
d8850af
apr: fix most tests
oxij Aug 8, 2018
dc3d455
netcdf: fix most tests
oxij Aug 9, 2018
917e3ae
libndctl: fix tests
oxij Aug 7, 2018
9cbddc6
qt5.qtwebkit.hyphen: fix tests
oxij Jul 23, 2018
2f505d6
perlPackages.JSON: fix tests
oxij Mar 25, 2018
207a8a5
mr: fix tests
oxij Aug 8, 2018
856868d
hunspell: fix tests
oxij Aug 8, 2018
7b1d190
libdevil: fix tests
oxij Aug 8, 2018
28550bf
libdrm: fix tests
oxij Aug 8, 2018
28d98d7
libzip: fix tests
oxij Aug 8, 2018
81e9f11
intel-gpu-tools: fix tests
oxij Aug 8, 2018
2a9eff8
re2c: fix tests
oxij Aug 8, 2018
0e3ffe4
cryptsetup: fix tests
oxij Aug 8, 2018
556da20
libaio: fix tests
oxij Aug 8, 2018
2cd4bce
chrony: fix tests
oxij Aug 8, 2018
15bf17a
paperkey: fix tests
oxij Aug 8, 2018
17104e8
gptfdisk: fix tests
oxij Aug 8, 2018
b9aa37f
xmlto: fix tests
oxij Aug 8, 2018
d3b1514
flex, flex_2_6_1: fix tests
oxij Aug 8, 2018
a12d40e
cups: fix tests
oxij Aug 10, 2018
38d527b
libcdio: fix tests
oxij Aug 10, 2018
0495548
texinfo: use checkInputs
oxij Aug 5, 2018
7f29cf0
rsstail: use checkInputs
oxij Aug 8, 2018
411ef0e
gnome3.gnome-keyring: use checkInputs
oxij Aug 8, 2018
98d487e
cmdstan: use checkInputs
oxij Aug 8, 2018
9d257df
guile-cairo: use checkInputs
oxij Aug 8, 2018
633f579
libgsf: use checkInputs
oxij Aug 8, 2018
bcbf5f1
libosinfo: use checkInputs
oxij Aug 8, 2018
2bb678b
liburcu: use checkInputs
oxij Aug 8, 2018
c6b76a5
lightning: use checkInputs
oxij Aug 8, 2018
fffb55d
uthash: use checkInputs
oxij Aug 8, 2018
2dd797a
bison: use checkInputs
oxij Aug 8, 2018
0449c12
knot-resolver: use checkInputs
oxij Aug 8, 2018
2481ed8
myserver: use checkInputs
oxij Aug 8, 2018
f27dda4
xcbutilxrm: use checkInputs
oxij Aug 8, 2018
1563671
parted: use checkInputs
oxij Aug 8, 2018
75993b0
swec: use checkInputs
oxij Aug 8, 2018
ff4b82c
nix-info: use checkInputs
oxij Aug 8, 2018
ac832c7
pythonPackages.dbus-python: use checkInputs
oxij Aug 8, 2018
7739f79
pythonPackages.gensim: use checkInputs
oxij Aug 8, 2018
fd056d8
pythonPackages.nixpart: use checkInputs
oxij Aug 8, 2018
a231831
pythonPackages.cassandra-driver: use checkInputs
oxij Aug 8, 2018
17c660f
feh: use checkInputs, fix tests
oxij Aug 8, 2018
cca7c9f
fftw: use checkInputs, fix tests
oxij Aug 8, 2018
b096f35
gmime2: use checkInputs, fix tests
oxij Aug 8, 2018
37ec85f
gmime3: use checkInputs, fix tests
oxij Aug 8, 2018
3113041
libfaketime: use checkInputs, fix tests
oxij Aug 8, 2018
15e96bd
sshfs-fuse: use checkInputs, fix tests
oxij Aug 8, 2018
3b16f3d
tcpdump: use checkInputs, fix tests
oxij Aug 8, 2018
c2d335f
pass: convert check to installcheck, fix tests
oxij Aug 8, 2018
8aeec44
wdiff: use checkInputs, fix tests
oxij Aug 8, 2018
3f843e0
recutils: use checkInputs, fix tests, also fix build
oxij Aug 8, 2018
65b4ff4
flex_2_5_35: make tests run, but disable
oxij Aug 9, 2018
4715cfe
vala: make tests run, but disable
oxij Aug 8, 2018
880c9b5
glog: make tests run, but disable
oxij Aug 8, 2018
97aa8b1
gpgme: make tests run, but disable. Spooky!
oxij Aug 8, 2018
0f7badb
jbig2dec: make tests run, but disable
oxij Aug 8, 2018
ea07fc7
ldns: make tests run, but disable
oxij Aug 8, 2018
9b95dd8
graphite2: make tests run, but disable
oxij Aug 8, 2018
7e4c442
elfutils: make tests run, but disable. A bit spooky!
oxij Aug 8, 2018
2a7bd71
rman: make tests run, but disable
oxij Aug 8, 2018
2a3a4ff
nodejs: make tests run, but disable
oxij Aug 8, 2018
c8baf7c
foo2zjs: make tests run, but disable
oxij Aug 8, 2018
662756b
fuse: make tests run, but disable
oxij Aug 8, 2018
6c931a1
numactl: make tests run, but disable. Ugh!
oxij Aug 8, 2018
c74e595
syslinux: make tests run, but disable
oxij Aug 8, 2018
7cd8fdb
utillinux: make tests run, but disable
oxij Aug 8, 2018
6c1a9d9
lighttpd: make tests run, but disable
oxij Aug 8, 2018
35b8d5a
zstd: make tests run, but disable
oxij Aug 8, 2018
2a5d7d7
e2fsprogs: make tests run, but disable
oxij Aug 8, 2018
fea886b
aria2: make tests run, but disable
oxij Aug 8, 2018
131e6d6
socat: make tests run, but disable
oxij Aug 8, 2018
1cf53a0
kakasi: make tests run, but disable
oxij Aug 8, 2018
99974ea
gnome3.gcr: make tests run, but disable
oxij Aug 10, 2018
e745d79
mailutils: use checkInputs, make tests run, but disable, also cleanup
oxij Aug 8, 2018
cec9b26
subversion: use checkInputs, make tests run, but them keep disabled
oxij Aug 8, 2018
0b67d69
libseccomp: make tests run, but dependency cycle
oxij Aug 10, 2018
ef2f89b
bash: make tests run, but dependency cycle
oxij Aug 10, 2018
9ab74be
patchelf: disable tests
oxij Aug 10, 2018
1781c00
pcre2: disable tests
oxij Aug 10, 2018
49dd9d8
jdupes: disable tests
oxij Jul 23, 2018
1949a71
pango: disable tests
oxij Jul 29, 2018
8e1a0b5
pmount: disable tests
oxij Aug 1, 2018
875b48e
qt5.qtwebkit: disable tests
oxij Jul 23, 2018
1e837c9
volume_key: disable tests
oxij Aug 7, 2018
51cddcf
librdf: disable tests
oxij Aug 8, 2018
7cd3de6
redis: disable tests
oxij Aug 8, 2018
365df8c
glslang: disable tests
oxij Aug 8, 2018
139c710
clucene_core_2: disable tests
oxij Aug 8, 2018
d820f01
gst_all_1.gst-plugins-base: disable tests
oxij Aug 8, 2018
4b13850
gst_all_1.gst-plugins-good: disable tests
oxij Aug 8, 2018
751f7cf
gst-plugins-good: disable tests
oxij Aug 9, 2018
ead797e
gd: disable tests
oxij Aug 8, 2018
7371fe5
libappindicator: disable tests
oxij Aug 8, 2018
d8cbcb7
libdbusmenu: disable tests
oxij Aug 8, 2018
f305711
nss: disable tests
oxij Aug 8, 2018
b2563a5
nifticlib: disable tests
oxij Aug 9, 2018
1d5e35f
sqlite: disable tests
oxij Aug 8, 2018
37f69ca
twolame: disable tests
oxij Aug 8, 2018
441f3b5
vigra: disable tests
oxij Aug 8, 2018
0a953cc
strace: disable tests. Spooky!
oxij Aug 8, 2018
f360278
memtest86plus: disable tests
oxij Aug 8, 2018
10a4cc1
system-config-printer: disable tests
oxij Aug 8, 2018
c23c2cf
recode: disable tests
oxij Aug 10, 2018
50176ef
glibmm: disable tests
oxij Aug 10, 2018
a77ee3b
pixman: libpng is an optional dependency, not a member of `checkInputs`
oxij Aug 8, 2018
fed9423
knot-dns: enable check, disable installcheck
oxij Aug 9, 2018
35c9435
binutils: disable installcheck for different targetPlatforms
oxij Aug 8, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions pkgs/applications/audio/radiotray-ng/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# rt2rtng
, python2
# Testing
, gmock
, gtest
# Fixup
, wrapGAppsHook
, makeWrapper
Expand Down Expand Up @@ -58,11 +58,10 @@ stdenv.mkDerivation rec {
libxdg_basedir
lsb-release
wxGTK
] ++ stdenv.lib.optional doCheck gmock
++ gstInputs
] ++ gstInputs
++ pythonInputs;

prePatch = ''
postPatch = ''
for x in debian/CMakeLists.txt include/radiotray-ng/common.hpp data/*.desktop; do
substituteInPlace $x --replace /usr $out
done
Expand All @@ -74,14 +73,16 @@ stdenv.mkDerivation rec {
--replace radiotray-ng-notification radiotray-ng-on
'';

cmakeFlags = stdenv.lib.optional doCheck "-DBUILD_TESTS=ON";
cmakeFlags = [
"-DBUILD_TESTS=${if doCheck then "ON" else "OFF"}"
];

enableParallelBuilding = true;

# XXX: as of 0.2.2, tries to download gmock instead of checking for provided
doCheck = false;

checkInputs = [ gtest ];
checkPhase = "ctest";
# doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
doCheck = false; # fails to pick up supplied gtest, tries to download it instead

preFixup = ''
gappsWrapperArgs+=(--suffix PATH : ${stdenv.lib.makeBinPath [ dbus ]})
Expand Down
8 changes: 4 additions & 4 deletions pkgs/applications/graphics/feh/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ stdenv.mkDerivation rec {

outputs = [ "out" "man" "doc" ];

nativeBuildInputs = [ makeWrapper xorg.libXt ]
++ optionals doCheck [ perlPackages.TestCommand perlPackages.TestHarness ];
nativeBuildInputs = [ makeWrapper xorg.libXt ];

buildInputs = [ xorg.libX11 xorg.libXinerama imlib2 libjpeg libpng curl libexif ];

Expand All @@ -36,8 +35,9 @@ stdenv.mkDerivation rec {
install -D -m 644 man/*.1 $out/share/man/man1
'';

checkPhase = ''
PERL5LIB="${perlPackages.TestCommand}/lib/perl5/site_perl" make test
checkInputs = [ perlPackages.TestCommand perlPackages.TestHarness ];
preCheck = ''
export PERL5LIB="${perlPackages.TestCommand}/lib/perl5/site_perl"
'';

doCheck = true;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/misc/ranger/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ python3Packages.buildPythonApplication rec {

# give image previews out of the box when building with w3m
substituteInPlace ranger/config/rc.conf \
--replace "set preview_images false" "set preview_images true" \
--replace "set preview_images false" "set preview_images true"
'';

meta = with stdenv.lib; {
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/networking/feedreaders/rsstail/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
owner = "flok99";
};

buildInputs = [ libmrss ]
++ stdenv.lib.optional doCheck cppcheck;
buildInputs = [ libmrss ];
checkInputs = [ cppcheck ];

postPatch = ''
substituteInPlace Makefile --replace -liconv_hook ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,16 @@ stdenv.mkDerivation rec {
];

nativeBuildInputs = [
check cmake pkgconfig
cmake pkgconfig
];

cmakeFlags = [
"-DENABLE_AUTOUPDATE=OFF"
] ++ lib.optional (doCheck) "-DENABLE_TESTS=ON";

doCheck = stdenv.isLinux;
"-DENABLE_TESTS=${if doCheck then "ON" else "OFF"}"
];

doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
checkInputs = [ check ];
checkPhase = ''
runHook preCheck
ctest -VV
Expand Down
5 changes: 1 addition & 4 deletions pkgs/applications/version-management/fossil/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ tcl ];

doCheck = stdenv.hostPlatform == stdenv.buildPlatform;

checkTarget = "test";

preCheck = stdenv.lib.optional doCheck ''
preCheck = ''
export TCLLIBPATH="${tcllib}/lib/tcllib${tcllib.version}"
'';
configureFlags = stdenv.lib.optional withJson "--json";
Expand Down
4 changes: 4 additions & 0 deletions pkgs/applications/version-management/mr/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ stdenv.mkDerivation rec {
sha256 = "15i9bs2i25l7ibv530ghy8280kklcgm5kr6j86s7iwcqqckd0czp";
};

postPatch = ''
patchShebangs .
'';

buildInputs = [ perl ];

makeFlags = "PREFIX=$(out)";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ let

enableParallelBuilding = true;

checkInputs = [ python ];
doCheck = false; # fails 10 out of ~2300 tests

meta = with stdenv.lib; {
Expand Down
12 changes: 6 additions & 6 deletions pkgs/build-support/release/binary-tarball.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ stdenv.mkDerivation (
postPhases = "finalPhase";
}

// args //
// args //

{
name = name + (if src ? version then "-" + src.version else "");

postHook = ''
mkdir -p $out/nix-support
echo "$system" > $out/nix-support/system
Expand All @@ -43,7 +43,7 @@ stdenv.mkDerivation (
if test -e $origSrc/nix-support/hydra-release-name; then
releaseName=$(cat $origSrc/nix-support/hydra-release-name)
fi

installFlagsArray=(DESTDIR=$TMPDIR/inst)

# Prefix hackery because of a bug in stdenv (it tries to `mkdir
Expand All @@ -62,18 +62,18 @@ stdenv.mkDerivation (
tar cvfj $out/tarballs/''${releaseName:-binary-dist}.tar.bz2 -C $TMPDIR/inst .
'';


finalPhase =
''
for i in $out/tarballs/*; do
echo "file binary-dist $i" >> $out/nix-support/hydra-build-products
done

# Propagate the release name of the source tarball. This is
# to get nice package names in channels.
test -n "$releaseName" && (echo "$releaseName" >> $out/nix-support/hydra-release-name)
'';


meta = (if args ? meta then args.meta else {}) // {
description = "Build of a generic binary distribution";
Expand Down
10 changes: 8 additions & 2 deletions pkgs/desktops/gnome-3/core/gcr/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ stdenv, fetchurl, pkgconfig, intltool, gnupg, p11-kit, glib
, libgcrypt, libtasn1, dbus-glib, gtk, pango, gdk_pixbuf, atk
, gobjectIntrospection, makeWrapper, libxslt, vala, gnome3 }:
, gobjectIntrospection, makeWrapper, libxslt, vala, gnome3
, python2 }:

stdenv.mkDerivation rec {
name = "gcr-${version}";
Expand All @@ -15,6 +16,10 @@ stdenv.mkDerivation rec {
updateScript = gnome3.updateScript { packageName = "gcr"; attrPath = "gnome3.gcr"; };
};

postPatch = ''
patchShebangs .
'';

outputs = [ "out" "dev" ];

nativeBuildInputs = [ pkgconfig intltool gobjectIntrospection libxslt makeWrapper vala ];
Expand All @@ -27,7 +32,8 @@ stdenv.mkDerivation rec {

propagatedBuildInputs = [ glib gtk p11-kit ];

#doCheck = true;
checkInputs = [ python2 ];
doCheck = false; # fails 21 out of 603 tests, needs dbus daemon

#enableParallelBuilding = true; issues on hydra

Expand Down
8 changes: 4 additions & 4 deletions pkgs/desktops/gnome-3/core/gnome-keyring/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,11 @@ stdenv.mkDerivation rec {
pango gcr gdk_pixbuf atk p11-kit
];

# In 3.20.1, tests do not support Python 3
checkInputs = [ dbus python2 ];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you keep the comment?


propagatedBuildInputs = [ glib libtasn1 libxslt ];

nativeBuildInputs = [
pkgconfig intltool docbook_xsl docbook_xml_dtd_42 wrapGAppsHook
] ++ stdenv.lib.optionals doCheck checkInputs;
];

configureFlags = [
"--with-pkcs11-config=$$out/etc/pkcs11/" # installation directories
Expand All @@ -41,6 +38,9 @@ stdenv.mkDerivation rec {
'';

doCheck = true;
# In 3.20.1, tests do not support Python 3
checkInputs = [ dbus python2 ];

checkPhase = ''
export HOME=$(mktemp -d)
dbus-run-session \
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/compilers/cmdstan/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ stdenv.mkDerivation rec {

buildFlags = "build";
enableParallelBuilding = true;
nativeBuildInputs = stdenv.lib.optional doCheck python;

doCheck = true;
checkPhase = "python ./runCmdStanTests.py src/test/interface"; # see #5368
checkInputs = [ python ];
checkPhase = "python ./runCmdStanTests.py src/test/interface"; # see #5368

installPhase = ''
mkdir -p $out/opt $out/bin
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/compilers/glslang/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ stdenv.mkDerivation rec {
fi
'';

doCheck = false; # fails 3 out of 3 tests (ctest)

meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Khronos reference front-end for GLSL and ESSL";
Expand Down
11 changes: 9 additions & 2 deletions pkgs/development/compilers/vala/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, pkgconfig, flex, bison, libxslt, autoconf, graphviz
{ stdenv, lib, fetchurl, pkgconfig, flex, bison, libxslt, autoconf, automake, graphviz
, glib, libiconv, libintl, libtool, expat
}:

Expand All @@ -7,13 +7,18 @@ let
let
atLeast = lib.versionAtLeast "${major}.${minor}";
in stdenv.mkDerivation rec {
name = "vala-${major}.${minor}";
name = "vala-${version}";
version = "${major}.${minor}";

src = fetchurl {
url = "mirror://gnome/sources/vala/${major}/${name}.tar.xz";
inherit sha256;
};

postPatch = ''
patchShebangs tests
'';

outputs = [ "out" "devdoc" ];

nativeBuildInputs = [
Expand All @@ -26,6 +31,8 @@ let
] ++ lib.optional (atLeast "0.38") graphviz
++ extraBuildInputs;

doCheck = false; # fails, requires dbus daemon

meta = with stdenv.lib; {
description = "Compiler for GObject type system";
homepage = https://wiki.gnome.org/Projects/Vala;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/guile-modules/guile-cairo/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ pkgconfig ];

buildInputs = [ guile cairo expat ]
++ stdenv.lib.optional doCheck guile-lib;
buildInputs = [ guile cairo expat ];
checkInputs = [ guile-lib ];

doCheck = true;

Expand Down
5 changes: 5 additions & 0 deletions pkgs/development/libraries/apr/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ stdenv.mkDerivation rec {

patches = stdenv.lib.optionals stdenv.isDarwin [ ./is-this-a-compiler-bug.patch ];

# This test needs the net
postPatch = ''
rm test/testsock.*
'';

outputs = [ "out" "dev" ];
outputBin = "dev";

Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/libraries/clucene-core/2.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ stdenv.mkDerivation rec {
$out/lib/libclucene-core.1.dylib
'';

doCheck = false; # fails with "Unable to find executable: /build/clucene-core-2.3.3.4/build/bin/cl_test"

meta = {
description = "Core library for full-featured text search engine";
longDescription = ''
Expand Down
10 changes: 5 additions & 5 deletions pkgs/development/libraries/ffmpeg/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,11 @@ stdenv.mkDerivation rec {
description = "A complete, cross-platform solution to record, convert and stream audio and video";
homepage = http://www.ffmpeg.org/;
longDescription = ''
FFmpeg is the leading multimedia framework, able to decode, encode, transcode,
mux, demux, stream, filter and play pretty much anything that humans and machines
have created. It supports the most obscure ancient formats up to the cutting edge.
No matter if they were designed by some standards committee, the community or
a corporation.
FFmpeg is the leading multimedia framework, able to decode, encode, transcode,
mux, demux, stream, filter and play pretty much anything that humans and machines
have created. It supports the most obscure ancient formats up to the cutting edge.
No matter if they were designed by some standards committee, the community or
a corporation.
'';
license = licenses.gpl3;
platforms = platforms.all;
Expand Down
4 changes: 3 additions & 1 deletion pkgs/development/libraries/fftw/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ fetchurl, stdenv, lib, precision ? "double" }:
{ fetchurl, stdenv, lib, precision ? "double", perl }:

with lib;

Expand Down Expand Up @@ -38,6 +38,8 @@ stdenv.mkDerivation rec {

enableParallelBuilding = true;

checkInputs = [ perl ];

meta = with stdenv.lib; {
description = "Fastest Fourier Transform in the West library";
homepage = http://www.fftw.org/;
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/libraries/gd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ stdenv.mkDerivation rec {

enableParallelBuilding = true;

doCheck = false; # fails 2 tests

meta = with stdenv.lib; {
homepage = https://libgd.github.io/;
description = "A dynamic image creation library";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/development/libraries/glibmm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ glib libsigcxx ];

enableParallelBuilding = true;
#doCheck = true; # some tests need network

doCheck = false; # fails. one test needs the net, another /etc/fstab

meta = with stdenv.lib; {
description = "C++ interface to the GLib library";
Expand Down
5 changes: 4 additions & 1 deletion pkgs/development/libraries/glog/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoreconfHook }:
{ stdenv, fetchFromGitHub, autoreconfHook, perl }:

stdenv.mkDerivation rec {
name = "glog-${version}";
Expand All @@ -13,6 +13,9 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ autoreconfHook ];

checkInputs = [ perl ];
doCheck = false; # fails with "Mangled symbols (28 out of 380) found in demangle.dm"

meta = with stdenv.lib; {
homepage = https://github.com/google/glog;
license = licenses.bsd3;
Expand Down
Loading