mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
wlroots: Fix the build on master
I was testing the build on nixos-unstable but
64d50a0099
added another patch. Since this
patch is already in 0.48.0 it can't be applied again (overriding Meson
isn't optimal but we can't build wlroots with 0.46.1).
I've also dropped the "-Dxcb-xkb=enabled" flag since it was removed
(replaced with Xinput).
Thanks @kenogo for noticing this :)
This commit is contained in:
parent
aa490a543e
commit
99d623850f
|
@ -17,8 +17,11 @@ let
|
|||
inherit pname version;
|
||||
sha256 = "0qawsm6px1vca3babnqwn0hmkzsxy4w0gi345apd2qk3v0cv7ipc";
|
||||
};
|
||||
patches = builtins.filter # Remove gir-fallback-path.patch
|
||||
(str: !(stdenv.lib.hasSuffix "gir-fallback-path.patch" str))
|
||||
# Remove gir-fallback-path.patch and
|
||||
# a87496addd9160300837aa50193f4798c6f1d251.patch (already in 0.48.0):
|
||||
patches = builtins.filter
|
||||
(str: !(stdenv.lib.hasSuffix "gir-fallback-path.patch" str
|
||||
|| stdenv.lib.hasSuffix "a87496addd9160300837aa50193f4798c6f1d251.patch" str))
|
||||
oldAttrs.patches;
|
||||
});
|
||||
in stdenv.mkDerivation rec {
|
||||
|
@ -50,7 +53,7 @@ in stdenv.mkDerivation rec {
|
|||
|
||||
mesonFlags = [
|
||||
"-Dlibcap=enabled" "-Dlogind=enabled" "-Dxwayland=enabled" "-Dx11-backend=enabled"
|
||||
"-Dxcb-icccm=enabled" "-Dxcb-xkb=enabled" "-Dxcb-errors=enabled"
|
||||
"-Dxcb-icccm=enabled" "-Dxcb-errors=enabled"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
|
|
Loading…
Reference in a new issue