polkit: 0.112 -> 0.113

This commit is contained in:
William A. Kennington III 2015-07-07 00:01:33 -07:00
parent f36a9a798e
commit 76483363d1

View file

@ -15,11 +15,11 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "polkit-0.112"; name = "polkit-0.113";
src = fetchurl { src = fetchurl {
url = "http://www.freedesktop.org/software/polkit/releases/${name}.tar.gz"; url = "http://www.freedesktop.org/software/polkit/releases/${name}.tar.gz";
sha256 = "1xkary7yirdcjdva950nqyhmsz48qhrdsr78zciahj27p8yg95fn"; sha256 = "109w86kfqrgz83g9ivggplmgc77rz8kx8646izvm2jb57h4rbh71";
}; };
buildInputs = buildInputs =
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
preConfigure = '' preConfigure = ''
patchShebangs . patchShebangs .
'' + stdenv.lib.optionalString useSystemd /* bogus chroot detection */ '' '' + stdenv.lib.optionalString useSystemd /* bogus chroot detection */ ''
sed '/libsystemd-login autoconfigured, but system does not appear to use systemd/s/.*/:/' -i configure sed '/libsystemd autoconfigured/s/.*/:/' -i configure
'' ''
# libpolkit-agent-1.so should call the setuid wrapper on # libpolkit-agent-1.so should call the setuid wrapper on
# NixOS. Hard-coding the path is kinda ugly. Maybe we can just # NixOS. Hard-coding the path is kinda ugly. Maybe we can just