diff --git a/pkgs/tools/misc/coreboot-configurator/default.nix b/pkgs/tools/misc/coreboot-configurator/default.nix index 4f036d526ac..87c4573e95e 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