diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2022-01-18 09:55:31 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2022-01-18 09:55:31 +0100 |
commit | b2358031c09eefc2008000f87250ea8308e864a3 (patch) | |
tree | 9c3f9305d586b84669184eb2adb69ec9e1dce333 | |
parent | 0756861e95baa1c2d3b0899eca937aa18179066d (diff) |
Refactor: Use lib.optionals
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | shell.nix | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; [ |