summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/audio/carla
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio/carla')
-rw-r--r--pkgs/applications/audio/carla/default.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/applications/audio/carla/default.nix b/pkgs/applications/audio/carla/default.nix
index 82259d563ce9..70ef1ebdf644 100644
--- a/pkgs/applications/audio/carla/default.nix
+++ b/pkgs/applications/audio/carla/default.nix
@@ -5,8 +5,6 @@
withGtk2 ? true, gtk2 ? null,
withGtk3 ? true, gtk3 ? null }:
-with lib;
-
assert withFrontend -> python3Packages ? pyqt5;
assert withQt -> qtbase != null;
assert withQt -> wrapQtAppsHook != null;
@@ -30,13 +28,13 @@ stdenv.mkDerivation rec {
pythonPath = with python3Packages; [
rdflib pyliblo
- ] ++ optional withFrontend pyqt5;
+ ] ++ lib.optional withFrontend pyqt5;
buildInputs = [
file liblo alsa-lib fluidsynth jack2 libpulseaudio libsndfile
- ] ++ optional withQt qtbase
- ++ optional withGtk2 gtk2
- ++ optional withGtk3 gtk3;
+ ] ++ lib.optional withQt qtbase
+ ++ lib.optional withGtk2 gtk2
+ ++ lib.optional withGtk3 gtk3;
propagatedBuildInputs = pythonPath;