Skip to content

Commit

Permalink
[24.05] xwayland: 24.1.0 -> 24.1.4 (#352314)
Browse files Browse the repository at this point in the history
  • Loading branch information
K900 authored Oct 30, 2024
2 parents c4514c9 + f9fbea3 commit 0b25d0b
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions pkgs/servers/x11/xorg/xwayland.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ egl-wayland
, bash
, libepoxy
, fetchurl
, fetchpatch
, fontutil
, lib
, libdecor
Expand Down Expand Up @@ -49,22 +49,17 @@

stdenv.mkDerivation rec {
pname = "xwayland";
version = "24.1.0";
version = "24.1.4";

src = fetchurl {
url = "mirror://xorg/individual/xserver/${pname}-${version}.tar.xz";
hash = "sha256-vvIcTxiAek7VccTi32CrY7VGa71QLszrJIW4kqt23MI=";
hash = "sha256-2Wp426uBn1V1AXNERESZW1Ax69zBW3ev672NvAKvNPQ=";
};

patches = [
# Backport fix for pkg-config generation to make CMake happy
# FIXME: remove when merged
# Upstream PR: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1543
(fetchpatch {
url = "https://gitlab.freedesktop.org/xorg/xserver/-/commit/8cb1c21a4240a5b6bf4aeeef51819639b4e0ad24.patch";
hash = "sha256-MZPP9QgYO4RFJ/vcjkpu7SVSo5Dh09ZdZjOwTopjdYQ=";
})
];
postPatch = ''
substituteInPlace os/utils.c \
--replace-fail '/bin/sh' '${lib.getExe' bash "sh"}'
'';

depsBuildBuild = [
pkg-config
Expand Down

0 comments on commit 0b25d0b

Please sign in to comment.