Merge pull request #265037 from romildo/upd.kdesu

This commit is contained in:
Artturi 2023-11-22 19:59:21 +02:00 committed by GitHub
commit 5d4dec80e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,7 @@
mkDerivation, lib,
extra-cmake-modules,
kcoreaddons, ki18n, kpty, kservice, qtbase,
useSudo ? false
}:
mkDerivation {
@ -11,5 +12,6 @@ mkDerivation {
propagatedBuildInputs = [ kpty ];
outputs = [ "out" "dev" ];
patches = [ ./kdesu-search-for-wrapped-daemon-first.patch ];
cmakeFlags = lib.optionals useSudo [ "-DKDESU_USE_SUDO_DEFAULT=On" ];
meta.platforms = lib.platforms.linux ++ lib.platforms.freebsd;
}