diff options
author | Alyssa Ross <hi@alyssa.is> | 2020-10-29 12:20:21 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2020-10-29 13:14:08 +0000 |
commit | dfe75b97ca68ddc4a6e5eb000904ecd53432c1fe (patch) | |
tree | 8464c59ddaace61285e3d537c2358bd7b9e531d2 /pkgs/development/libraries/wayland | |
parent | 0b32140b34485eaa03a68e51b9d5aebc6bcce1fa (diff) |
wayland: make reproducible
Upstream MR: https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/93
Diffstat (limited to 'pkgs/development/libraries/wayland')
-rw-r--r-- | pkgs/development/libraries/wayland/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/development/libraries/wayland/default.nix b/pkgs/development/libraries/wayland/default.nix index 1821d7a723749..cd84495d870ad 100644 --- a/pkgs/development/libraries/wayland/default.nix +++ b/pkgs/development/libraries/wayland/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, meson, pkgconfig, ninja +{ lib, stdenv, fetchurl, fetchpatch, meson, pkgconfig, ninja , libffi, libxml2, wayland , expat ? null # Build wayland-scanner (currently cannot be disabled as of 1.7.0) , withDocumentation ? stdenv.hostPlatform == stdenv.buildPlatform @@ -20,6 +20,14 @@ in stdenv.mkDerivation rec { sha256 = "0k995rn96xkplrapz5k648j651wc43kq817xk1x8280h16gsfxa6"; }; + patches = [ + # Fix documentation to be reproducible. + (fetchpatch { + url = "https://gitlab.freedesktop.org/wayland/wayland/-/commit/e53e0edf0f892670f3e8c5dd527b3bb22335d32d.patch"; + sha256 = "15sbhi86m9k72lsj56p7zr20ph2b0y4svl639snsbafn2ir1zdb2"; + }) + ]; + outputs = [ "out" ] ++ lib.optionals withDocumentation [ "doc" "man" ]; separateDebugInfo = true; |