Skip to content

Commit

Permalink
WIP: mate.mate-utils: Workaround undefined version requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
bobby285271 committed Feb 24, 2024
1 parent 375421f commit 1b9d35e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/desktops/mate/mate-utils/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ stdenv.mkDerivation rec {
wayland
];

postPatch = ''
substituteInPlace configure \
--replace-fail '>= $GTK_LAYER_SHELL_REQUIRED_VERSION' "" \
--replace-fail '>= $GDK_WAYLAND_REQUIRED_VERSION' ""
'';

configureFlags = [ "--enable-wayland" ];

env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
Expand Down

0 comments on commit 1b9d35e

Please sign in to comment.