diff options
author | Artturi <Artturin@artturin.com> | 2023-11-22 19:59:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-22 19:59:21 +0200 |
commit | 5d4dec80e5dbe0c745343748f8c8572cc974fbd9 (patch) | |
tree | 13c4dcff803bea8bec282c4ac198ae846dea8548 /pkgs/development/libraries/kde-frameworks | |
parent | ba1a718f343b934a5285ca12853a2df41d72465b (diff) | |
parent | 9f7a69608a7cebbcb03c055fbfa351d783658c99 (diff) |
Merge pull request #265037 from romildo/upd.kdesu
Diffstat (limited to 'pkgs/development/libraries/kde-frameworks')
-rw-r--r-- | pkgs/development/libraries/kde-frameworks/kdesu/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/kde-frameworks/kdesu/default.nix b/pkgs/development/libraries/kde-frameworks/kdesu/default.nix index 29a02d750762..b5aed8236fd3 100644 --- a/pkgs/development/libraries/kde-frameworks/kdesu/default.nix +++ b/pkgs/development/libraries/kde-frameworks/kdesu/default.nix @@ -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; } |