gvfs: make tests run, but disable

This commit is contained in:
Jan Malakhovski 2018-05-13 01:05:51 +00:00
parent 4d93021846
commit 33a6533c12

View File

@ -4,7 +4,7 @@
, libxml2, libxslt, docbook_xsl, docbook_xml_dtd_42, samba, libmtp , libxml2, libxslt, docbook_xsl, docbook_xml_dtd_42, samba, libmtp
, gnomeSupport ? false, gnome, makeWrapper , gnomeSupport ? false, gnome, makeWrapper
, libimobiledevice, libbluray, libcdio-paranoia, libnfs, openssh , libimobiledevice, libbluray, libcdio-paranoia, libnfs, openssh
, libsecret, libgdata , libsecret, libgdata, python3
# Remove when switching back to meson # Remove when switching back to meson
, autoreconfHook, lzma, bzip2 , autoreconfHook, lzma, bzip2
}: }:
@ -28,6 +28,10 @@ stdenv.mkDerivation rec {
sha256 = "1xq105596sk9yram5a143b369wpaiiwc9gz86n0j1kfr7nipkqn4"; sha256 = "1xq105596sk9yram5a143b369wpaiiwc9gz86n0j1kfr7nipkqn4";
}; };
postPatch = ''
patchShebangs test test-driver
'';
# Uncomment when switching back to meson # Uncomment when switching back to meson
# postPatch = '' # postPatch = ''
# chmod +x meson_post_install.py # patchShebangs requires executable file # chmod +x meson_post_install.py # patchShebangs requires executable file
@ -73,6 +77,10 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
checkInputs = [ python3 ];
doCheck = false; # fails with "ModuleNotFoundError: No module named 'gi'"
doInstallCheck = doCheck;
preFixup = '' preFixup = ''
for f in $out/libexec/*; do for f in $out/libexec/*; do
wrapProgram $f \ wrapProgram $f \