From 7e0aee2bc9e72bdf07ce30d6ba81b89829395341 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 20 Mar 2026 00:33:42 +0000 Subject: [PATCH] =?UTF-8?q?glib-testing:=200.1.1=20=E2=86=92=200.2.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://gitlab.gnome.org/pwithnall/libglib-testing/-/compare/0.1.1...0.2.0 The newly introduced `/dbus-queue/activatable-name` test is skipped because it depends on https://gitlab.gnome.org/GNOME/glib/-/merge_requests/5094. But even with that applied, all tests pass with `/bin/true` in the service file. But let’s fix it just to be safe. --- pkgs/by-name/gl/glib-testing/package.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gl/glib-testing/package.nix b/pkgs/by-name/gl/glib-testing/package.nix index 1b58157c8728..37551f46f1a7 100644 --- a/pkgs/by-name/gl/glib-testing/package.nix +++ b/pkgs/by-name/gl/glib-testing/package.nix @@ -5,6 +5,7 @@ meson, ninja, pkg-config, + coreutils, gtk-doc, docbook-xsl-nons, docbook_xml_dtd_43, @@ -14,7 +15,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "glib-testing"; - version = "0.1.1"; + version = "0.2.0"; outputs = [ "out" @@ -28,7 +29,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "pwithnall"; repo = "libglib-testing"; rev = finalAttrs.version; - sha256 = "U3epLDdLES7MA71z7Q1WXMjzySTFERWBU0u8poObbEo="; + hash = "sha256-OgKWC4plX4oiIakd/8bHtyiuZijV58URILXUHQqFMW8="; }; patches = [ @@ -54,6 +55,12 @@ stdenv.mkDerivation (finalAttrs: { "-Dinstalled_test_prefix=${placeholder "installedTests"}" ]; + postPatch = '' + # Note: Does not appear to be needed by anything. + substituteInPlace libglib-testing/dbus-queue.c \ + --replace-fail 'Exec=/bin/true' 'Exec=${coreutils}/bin/true' + ''; + passthru = { tests = { installedTests = nixosTests.installed-tests.glib-testing;