summary refs log tree commit diff
path: root/pkgs/os-specific/linux/power-profiles-daemon
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-04-15 20:13:33 +0000
committerAlyssa Ross <hi@alyssa.is>2023-04-19 14:09:01 +0000
commit084a9e0885dfc3a1a20e4934f20f3e144eadbd4a (patch)
treed3c783eeba89cfffbdd95f23dd7b958ed3a81c41 /pkgs/os-specific/linux/power-profiles-daemon
parent9a0754061262b3bd5bdc56ddb5dd971f9245b112 (diff)
downloadnixpkgs-084a9e0885dfc3a1a20e4934f20f3e144eadbd4a.tar
nixpkgs-084a9e0885dfc3a1a20e4934f20f3e144eadbd4a.tar.gz
nixpkgs-084a9e0885dfc3a1a20e4934f20f3e144eadbd4a.tar.bz2
nixpkgs-084a9e0885dfc3a1a20e4934f20f3e144eadbd4a.tar.lz
nixpkgs-084a9e0885dfc3a1a20e4934f20f3e144eadbd4a.tar.xz
nixpkgs-084a9e0885dfc3a1a20e4934f20f3e144eadbd4a.tar.zst
nixpkgs-084a9e0885dfc3a1a20e4934f20f3e144eadbd4a.zip
fwupd,power-profiles-daemon: remove pkexec hack
This isn't needed since Meson 1.1.0.
Diffstat (limited to 'pkgs/os-specific/linux/power-profiles-daemon')
-rw-r--r--pkgs/os-specific/linux/power-profiles-daemon/default.nix10
1 files changed, 0 insertions, 10 deletions
diff --git a/pkgs/os-specific/linux/power-profiles-daemon/default.nix b/pkgs/os-specific/linux/power-profiles-daemon/default.nix
index 393583e0864..648442ad757 100644
--- a/pkgs/os-specific/linux/power-profiles-daemon/default.nix
+++ b/pkgs/os-specific/linux/power-profiles-daemon/default.nix
@@ -104,16 +104,6 @@ stdenv.mkDerivation rec {
       tests/unittest_inspector.py
   '';
 
-  preInstall = ''
-    # We have pkexec on PATH so Meson will try to use it when installation fails
-    # due to being unable to write to e.g. /etc.
-    # Let’s pretend we already ran pkexec –
-    # the pkexec on PATH would complain it lacks setuid bit,
-    # obscuring the underlying error.
-    # https://github.com/mesonbuild/meson/blob/492cc9bf95d573e037155b588dc5110ded4d9a35/mesonbuild/minstall.py#L558
-    export PKEXEC_UID=-1
-  '';
-
   postCheck = ''
     # Do not contaminate the wrapper with test dependencies.
     unset GI_TYPELIB_PATH