Merge pull request #160954 from a-m-joseph/kauth-without-polkit
kauth: make polkit dependency optional
This commit is contained in:
commit
b4f94f8d08
@ -1,12 +1,13 @@
|
||||
{
|
||||
mkDerivation, propagate,
|
||||
extra-cmake-modules, kcoreaddons, polkit-qt, qttools
|
||||
lib, mkDerivation, propagate,
|
||||
extra-cmake-modules, kcoreaddons, qttools,
|
||||
enablePolkit ? true, polkit-qt
|
||||
}:
|
||||
|
||||
mkDerivation {
|
||||
name = "kauth";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ polkit-qt qttools ];
|
||||
buildInputs = lib.optional enablePolkit polkit-qt ++ [ qttools ];
|
||||
propagatedBuildInputs = [ kcoreaddons ];
|
||||
patches = [
|
||||
./cmake-install-paths.patch
|
||||
|
Loading…
Reference in New Issue
Block a user