summary refs log tree commit diff
path: root/pkgs/development/interpreters
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2016-10-01 23:47:19 +0300
committerTuomas Tynkkynen <tuomas@tuxera.com>2016-10-02 00:44:10 +0300
commiteda2dd3d2fa99b5530c927384daea3dcb2066d22 (patch)
treed4a8b2806ce2b35097b7ac45a6291f0b9d96b079 /pkgs/development/interpreters
parent405985435137270662f102ce3f5f9fa450c8ae71 (diff)
downloadnixlib-eda2dd3d2fa99b5530c927384daea3dcb2066d22.tar
nixlib-eda2dd3d2fa99b5530c927384daea3dcb2066d22.tar.gz
nixlib-eda2dd3d2fa99b5530c927384daea3dcb2066d22.tar.bz2
nixlib-eda2dd3d2fa99b5530c927384daea3dcb2066d22.tar.lz
nixlib-eda2dd3d2fa99b5530c927384daea3dcb2066d22.tar.xz
nixlib-eda2dd3d2fa99b5530c927384daea3dcb2066d22.tar.zst
nixlib-eda2dd3d2fa99b5530c927384daea3dcb2066d22.zip
treewide: Fix more 'lib.optional' misuses
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r--pkgs/development/interpreters/erlang/R16.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/interpreters/erlang/R16.nix b/pkgs/development/interpreters/erlang/R16.nix
index 02f9d1f98e81..ed30fe1522bf 100644
--- a/pkgs/development/interpreters/erlang/R16.nix
+++ b/pkgs/development/interpreters/erlang/R16.nix
@@ -23,9 +23,9 @@ stdenv.mkDerivation rec {
 
   buildInputs =
     [ perl gnum4 ncurses openssl makeWrapper
-    ] ++ optional wxSupport [ mesa wxGTK xorg.libX11 ]
-      ++ optional odbcSupport [ unixODBC ]
-      ++ optional stdenv.isDarwin [ Carbon Cocoa ];
+    ] ++ optionals wxSupport [ mesa wxGTK xorg.libX11 ]
+      ++ optional odbcSupport unixODBC
+      ++ optionals stdenv.isDarwin [ Carbon Cocoa ];
 
   patchPhase = '' sed -i "s@/bin/rm@rm@" lib/odbc/configure erts/configure '';