From 08f66013ae3c842588838b5ab52f91e0dfb00eec Mon Sep 17 00:00:00 2001 From: Cray Elliott Date: Sat, 8 Nov 2014 20:47:34 -0800 Subject: [PATCH] change optionalString to optional in bluez5, fixes evalutation --- pkgs/os-specific/linux/bluez/bluez5.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/bluez/bluez5.nix b/pkgs/os-specific/linux/bluez/bluez5.nix index 80eb931f3798..3d1f90fe8ebd 100644 --- a/pkgs/os-specific/linux/bluez/bluez5.nix +++ b/pkgs/os-specific/linux/bluez/bluez5.nix @@ -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";