about summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2016-10-01 23:38:06 +0300
committerTuomas Tynkkynen <tuomas@tuxera.com>2016-10-01 23:38:06 +0300
commit5bf5de58ea568b733d7399233f4d661f911c742d (patch)
treeeb0614162926a8e103a59e87284d759139c8aed7 /pkgs/applications/networking
parentc61cc2d56cb1f790c1921c18deaf6d6c33d5627f (diff)
downloadnixlib-5bf5de58ea568b733d7399233f4d661f911c742d.tar
nixlib-5bf5de58ea568b733d7399233f4d661f911c742d.tar.gz
nixlib-5bf5de58ea568b733d7399233f4d661f911c742d.tar.bz2
nixlib-5bf5de58ea568b733d7399233f4d661f911c742d.tar.lz
nixlib-5bf5de58ea568b733d7399233f4d661f911c742d.tar.xz
nixlib-5bf5de58ea568b733d7399233f4d661f911c742d.tar.zst
nixlib-5bf5de58ea568b733d7399233f4d661f911c742d.zip
treewide: Fix 'lib.optional' misuses
These add a singleton list of a package to buildInputs.
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/cluster/spark/default.nix2
-rw-r--r--pkgs/applications/networking/mumble/default.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/networking/cluster/spark/default.nix b/pkgs/applications/networking/cluster/spark/default.nix
index 79074d2d28e6..b4c20e22680b 100644
--- a/pkgs/applications/networking/cluster/spark/default.nix
+++ b/pkgs/applications/networking/cluster/spark/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
   };
 
   buildInputs = [ makeWrapper jre pythonPackages.python pythonPackages.numpy ]
-    ++ optional mesosSupport [ mesos ];
+    ++ optional mesosSupport mesos;
 
   untarDir = "${name}-bin-cdh4";
   installPhase = ''
diff --git a/pkgs/applications/networking/mumble/default.nix b/pkgs/applications/networking/mumble/default.nix
index fff0bc5edc46..038f4cb1a739 100644
--- a/pkgs/applications/networking/mumble/default.nix
+++ b/pkgs/applications/networking/mumble/default.nix
@@ -104,7 +104,7 @@ let
       "CONFIG+=no-client"
     ];
 
-    buildInputs = [ libcap ] ++ optional iceSupport [ zeroc_ice ];
+    buildInputs = [ libcap ] ++ optional iceSupport zeroc_ice;
   };
 
   stableSource = rec {