Merge pull request #280946 from ElvishJerricco/folks-really-disable-tests

folks: Really disable tests
This commit is contained in:
Will Fancher 2024-01-14 10:14:49 -05:00 committed by GitHub
commit fd309df083
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,14 +25,14 @@
# TODO: enable more folks backends
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "folks";
version = "0.15.7";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/${finalAttrs.pname}/${lib.versions.majorMinor finalAttrs.version}/${finalAttrs.pname}-${finalAttrs.version}.tar.xz";
sha256 = "Eg8hnvYyEsqpWuf2rrZOKZKLCxqLlFIFQwSgDQ80eHE=";
};
@ -78,7 +78,7 @@ stdenv.mkDerivation rec {
mesonFlags = [
"-Ddocs=true"
"-Dtelepathy_backend=${lib.boolToString telepathySupport}"
"-Dtests=${lib.boolToString stdenv.isLinux}"
"-Dtests=${lib.boolToString (finalAttrs.doCheck && stdenv.isLinux)}"
];
# backends/eds/lib/libfolks-eds.so.26.0.0.p/edsf-persona-store.c:10697:4:
@ -103,7 +103,7 @@ stdenv.mkDerivation rec {
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
packageName = finalAttrs.pname;
versionPolicy = "none";
};
};
@ -115,4 +115,4 @@ stdenv.mkDerivation rec {
maintainers = teams.gnome.members;
platforms = platforms.unix;
};
}
})