From 917b90ecec1909c2b671021fd4d7d3d6d17cecc3 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Wed, 16 Aug 2023 13:43:34 +0800 Subject: [PATCH] budgie.magpie: Fix build with sysprof 45 Same as what we do in mutter 43. --- pkgs/desktops/budgie/magpie/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/desktops/budgie/magpie/default.nix b/pkgs/desktops/budgie/magpie/default.nix index 79c13454eba0..22ebec3353ef 100644 --- a/pkgs/desktops/budgie/magpie/default.nix +++ b/pkgs/desktops/budgie/magpie/default.nix @@ -126,6 +126,10 @@ stdenv.mkDerivation (finalAttrs: { patchShebangs src/backends/native/gen-default-modes.py # Magpie does not install any .desktop files substituteInPlace scripts/mesonPostInstall.sh --replace "update-desktop-database" "# update-desktop-database" + + # https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3187 + substituteInPlace meson.build \ + --replace "dependency('sysprof-4')" "dependency('sysprof-6')" ''; postFixup = ''