about summary refs log tree commit diff
path: root/pkgs/applications/misc/webthree-umbrella/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/webthree-umbrella/default.nix')
-rw-r--r--pkgs/applications/misc/webthree-umbrella/default.nix20
1 files changed, 4 insertions, 16 deletions
diff --git a/pkgs/applications/misc/webthree-umbrella/default.nix b/pkgs/applications/misc/webthree-umbrella/default.nix
index 2354c1377f963..8876b64ed0c9f 100644
--- a/pkgs/applications/misc/webthree-umbrella/default.nix
+++ b/pkgs/applications/misc/webthree-umbrella/default.nix
@@ -84,22 +84,10 @@ stdenv.mkDerivation rec {
     curl
     libmicrohttpd
     mesa
-    (optional withOpenCL [
-      opencl-headers
-      ocl-icd
-    ])
-    (optional withGUI [
-      qtwebengine
-      qtbase
-      qtdeclarative
-    ])
-    (optional withProfiling gperftools)
-    (optional withEVMJIT [
-      llvm
-      zlib
-      ncurses
-    ])
-  ];
+  ] ++ optionals withOpenCL [ opencl-headers ocl-icd ]
+    ++ optionals withGUI [ qtwebengine qtbase qtdeclarative ]
+    ++ optional withProfiling gperftools
+    ++ optionals withEVMJIT [ llvm zlib ncurses ];
 
   runPath = with stdenv.lib; (makeLibraryPath (flatten [ stdenv.cc.cc buildInputs ]));