summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2022-01-18 09:55:31 +0100
committerMatthias Beyer <mail@beyermatthias.de>2022-01-18 09:55:31 +0100
commitb2358031c09eefc2008000f87250ea8308e864a3 (patch)
tree9c3f9305d586b84669184eb2adb69ec9e1dce333
parent0756861e95baa1c2d3b0899eca937aa18179066d (diff)
Refactor: Use lib.optionals
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--shell.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell.nix b/shell.nix
index 4ab63ebec2..8b194f2d05 100644
--- a/shell.nix
+++ b/shell.nix
@@ -41,14 +41,14 @@ let
LV2_PATH=${lib.makeSearchPath "lib/lv2" allLv2Plugins} gdb --args ./.mixxx-wrapped --resourcePath res/ "$@"
'';
- allLv2Plugins = lv2Plugins ++ (if defaultLv2Plugins then with pkgs; [
+ allLv2Plugins = lv2Plugins ++ (lib.optionals defaultLv2Plugins (with pkgs; [
artyFX
infamousPlugins
mod-distortion
rkrlv2
x42-plugins
zam-plugins
- ] else []);
+ ]));
in pkgs.mkShell rec {
buildInputs = with pkgs; [