Skip to content

Commit

Permalink
Merge pull request #322981 from Artturin/backport-322207-to-release-2…
Browse files Browse the repository at this point in the history
…4.05

[backport 24.05] polkit: Apply unreleased patch to fix pkexec without a graphical agent
  • Loading branch information
Artturin committed Jul 3, 2024
2 parents ae7c6dc + 438b341 commit ea4f418
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/development/libraries/polkit/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
, docbook_xml_dtd_412
, gtk-doc
, coreutils
, fetchpatch
, useSystemd ? lib.meta.availableOn stdenv.hostPlatform systemdMinimal
, systemdMinimal
, elogind
Expand Down Expand Up @@ -53,6 +54,13 @@ stdenv.mkDerivation rec {
# Allow changing base for paths in pkg-config file as before.
# https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/100
./0001-build-Use-datarootdir-in-Meson-generated-pkg-config-.patch

# FIXME: remove in the next release
# https://github.com/NixOS/nixpkgs/issues/18012
(fetchpatch {
url = "https://github.com/polkit-org/polkit/commit/f93c7466039ea3403e0576928aeb620b806d0cce.patch";
sha256 = "sha256-cF0nNovYmyr+XixpBgQFF0A+oJeSPGZgTkgDQkQuof8=";
})
];

depsBuildBuild = [
Expand Down

0 comments on commit ea4f418

Please sign in to comment.