Skip to content

Commit

Permalink
Merge pull request #164266 from bobby285271/meson061
Browse files Browse the repository at this point in the history
gnome.gnome-settings-daemon338: fix build with meson 0.61
  • Loading branch information
bobby285271 authored Mar 17, 2022
2 parents 5855ff7 + 4a71acf commit 0bc3400
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pkgs/desktops/gnome/core/gnome-settings-daemon/3.38/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ lib, stdenv
{ stdenv
, lib
, fetchpatch
, substituteAll
, fetchurl
Expand Down Expand Up @@ -70,6 +71,14 @@ stdenv.mkDerivation rec {
})

# Fix build with new meson
# plugins/power/meson.build:78:7: ERROR: Function does not take positional arguments.
# https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/merge_requests/283
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/commit/afa7e4bb9c519e2daf500a6079088669500768c0.patch";
sha256 = "8wxJIKPoZyfs1t0zAsb5SVCdt297NUiGmXIBNI6hbCQ=";
})
# meson.build:86:3: ERROR: The `==` operator of str does not accept objects of type bool (True)
# https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/merge_requests/249
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/commit/28e28e9e598342c897ae5ca350d0da6f4aea057b.diff";
sha256 = "U+suR7wYjLWPqmkJpHm6pPOWL7sjL6GhIFX8MHrBRAY=";
Expand Down

0 comments on commit 0bc3400

Please sign in to comment.