git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #163956 from NickCao/polkit

polkit: fix build with meson 0.61

commitf7ca7442d2d4fd111efa2ddf3c2d7864a8653b14 authorAnderson Torres <torres.anderson.85@protonmail.com> dateWed 16 Mar 2022, 08:13 (5 years ago) parenta4bb1d24793296
1 file changed+6
pkgs/development/libraries/polkit/default.nix+6
pkgs/development/libraries/polkit/default.nix+6
@@ -71,6 +71,12 @@ stdenv.mkDerivation rec {
7171 url = "https://src.fedoraproject.org/rpms/polkit/raw/0a203bd46a1e2ec8cc4b3626840e2ea9d0d13a9a/f/CVE-2021-4115.patch";
7272 sha256 = "sha256-BivHVVpYB4Ies1YbBDyKwUmNlqq2D1MpMipH9/dZM54=";
7373 })
74+ # Fix build with meson 0.61
75+ # https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/99
76+ (fetchpatch {
77+ url = "https://gitlab.freedesktop.org/polkit/polkit/-/commit/a96c5119f726225f8d79b222c85d71a9f0e32419.patch";
78+ sha256 = "sha256-/hm/m22dKA50sDmw4L1VAlgvCm8CuIyNjHxF/2YgMKo=";
79+ })
7480 ] ++ lib.optionals stdenv.hostPlatform.isMusl [
7581 # Make netgroup support optional (musl does not have it)
7682 # Upstream MR: https://gitlab.freedesktop.org/polkit/polkit/merge_requests/10