diff options
author | R-VdP <141248+R-VdP@users.noreply.github.com> | 2023-02-26 16:11:12 +0100 |
---|---|---|
committer | R-VdP <141248+R-VdP@users.noreply.github.com> | 2023-02-26 16:57:57 +0100 |
commit | 4a622549c7f8235ff182ea0f6ea97b273685d303 (patch) | |
tree | 56b1a657abb5882182d1d833d23363ab3acc4c7c /pkgs/tools/misc/coreboot-configurator | |
parent | be8868e936a7ebf2951301fd77c5fd9fe584352b (diff) |
Resolve pkexec from PATH by default.
Diffstat (limited to 'pkgs/tools/misc/coreboot-configurator')
-rw-r--r-- | pkgs/tools/misc/coreboot-configurator/default.nix | 6 |
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 |