Merge pull request #122475 from stephank/fix-wayland-darwin
wayland: fix build on darwin
This commit is contained in:
commit
a605e0318d
1 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
|
, fetchpatch
|
||||||
, substituteAll
|
, substituteAll
|
||||||
, meson
|
, meson
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
@ -37,6 +38,11 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
# Picked from upstream 'main' branch for Darwin support.
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://gitlab.freedesktop.org/wayland/wayland/-/commit/f452e41264387dee4fd737cbf1af58b34b53941b.patch";
|
||||||
|
sha256 = "00mk32a01vgn31sm3wk4p8mfwvqv3xv02rxvdj1ygnzgb1ac62r7";
|
||||||
|
})
|
||||||
(substituteAll {
|
(substituteAll {
|
||||||
src = ./0001-add-placeholder-for-nm.patch;
|
src = ./0001-add-placeholder-for-nm.patch;
|
||||||
nm = "${stdenv.cc.targetPrefix}nm";
|
nm = "${stdenv.cc.targetPrefix}nm";
|
||||||
|
|
Loading…
Reference in a new issue