diff options
author | Domen Kožar <domen@dev.si> | 2015-01-02 02:58:18 +0100 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2015-01-02 02:58:32 +0100 |
commit | 512fbb280f72980e84230b72b631258df1755919 (patch) | |
tree | 6e10e8d2dc2ab874075123ccbc47232c7122dd0a /pkgs/development/libraries/polkit | |
parent | d8c5d95330d9806b3ee30569de76660f3931d5ee (diff) |
Introduce patchShebangsPhase ran in preConfigurePhases
(cherry picked from commit 91c7e8747af1fdc2a70cd98594ccbb12a5c6902d) Signed-off-by: Domen Kožar <domen@dev.si>
Diffstat (limited to 'pkgs/development/libraries/polkit')
-rw-r--r-- | pkgs/development/libraries/polkit/default.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/development/libraries/polkit/default.nix b/pkgs/development/libraries/polkit/default.nix index 7fe16cec56b9a..6a0cc50c4123c 100644 --- a/pkgs/development/libraries/polkit/default.nix +++ b/pkgs/development/libraries/polkit/default.nix @@ -35,9 +35,7 @@ stdenv.mkDerivation rec { ( map (var: ''-DPACKAGE_${var}_DIR=\""${builtins.getAttr var foolVars}"\"'') (builtins.attrNames foolVars) ); - preConfigure = '' - patchShebangs . - '' + stdenv.lib.optionalString useSystemd /* bogus chroot detection */ '' + preConfigure = stdenv.lib.optionalString useSystemd /* bogus chroot detection */ '' sed '/libsystemd-login autoconfigured, but system does not appear to use systemd/s/.*/:/' -i configure '' # ‘libpolkit-agent-1.so’ should call the setuid wrapper on |