diff options
author | Felix Buehler <account@buehler.rocks> | 2023-02-14 19:11:59 +0100 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2023-02-14 19:11:59 +0100 |
commit | bc3d5934d7f276a21537b40159491257ee163d94 (patch) | |
tree | 53b1d9bd9cb148a0ab34f2fd9e1d94802dde639e /pkgs/applications/kde/kdevelop | |
parent | 3bee4ab8db244db328b41ae5f4fbce19b658f1be (diff) |
treewide: use lib.optionals
Diffstat (limited to 'pkgs/applications/kde/kdevelop')
-rw-r--r-- | pkgs/applications/kde/kdevelop/wrapper.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/kde/kdevelop/wrapper.nix b/pkgs/applications/kde/kdevelop/wrapper.nix index 86d3de9eb39a9..c73f2bba7b508 100644 --- a/pkgs/applications/kde/kdevelop/wrapper.nix +++ b/pkgs/applications/kde/kdevelop/wrapper.nix @@ -1,7 +1,7 @@ -{ symlinkJoin, kdevelop-unwrapped, plugins ? null }: +{ lib, symlinkJoin, kdevelop-unwrapped, plugins ? null }: symlinkJoin { name = "kdevelop-with-plugins"; - paths = [ kdevelop-unwrapped ] ++ (if plugins != null then plugins else []); + paths = [ kdevelop-unwrapped ] ++ (lib.optionals (plugins != null) plugins); } |