Resolve pkexec from PATH by default.

This commit is contained in:
R-VdP 2023-02-26 16:11:12 +01:00
parent be8868e936
commit 4a622549c7
No known key found for this signature in database

View file

@ -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