change optionalString to optional in bluez5, fixes evalutation

This commit is contained in:
Cray Elliott 2014-11-08 20:47:34 -08:00
parent 6349ff15b1
commit 08f66013ae

View File

@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
"--with-systemduserunitdir=$(out)/etc/systemd/user"
"--with-udevdir=$(out)/lib/udev"
] ++
stdenv.lib.optionalString enableWiimote ["--enable-wiimote"];
stdenv.lib.optional enableWiimote [ "--enable-wiimote" ];
# Work around `make install' trying to create /var/lib/bluetooth.
installFlags = "statedir=$(TMPDIR)/var/lib/bluetooth";