about summary refs log tree commit diff
path: root/pkgs/tools/misc/coreboot-configurator
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/coreboot-configurator')
-rw-r--r--pkgs/tools/misc/coreboot-configurator/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/misc/coreboot-configurator/default.nix b/pkgs/tools/misc/coreboot-configurator/default.nix
index 4f036d526acac..87c4573e95eb1 100644
--- a/pkgs/tools/misc/coreboot-configurator/default.nix
+++ b/pkgs/tools/misc/coreboot-configurator/default.nix
@@ -5,8 +5,12 @@
 , meson
 , mkDerivation
 , ninja
+  # We will resolve pkexec from the path because it has a setuid wrapper on
+  # NixOS meaning that we cannot just use the path from the nix store.
+  # Using the path to the wrapper here would make the package incompatible
+  # with non-NixOS systems.
+, pkexecPath ? "pkexec"
 , pkg-config
-, pkexecPath ? "/run/wrappers/bin/pkexec"
 , yaml-cpp
 , nvramtool
 , systemd