From 2885cf525a77e43700b38b48b1732821cb6ed81f Mon Sep 17 00:00:00 2001 From: Aristid Breitkreuz Date: Sat, 15 Nov 2014 22:22:28 +0100 Subject: [PATCH] fix bluez4 build --- pkgs/os-specific/linux/bluez/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/bluez/default.nix b/pkgs/os-specific/linux/bluez/default.nix index 3b876322f1f6..23e5171d1780 100644 --- a/pkgs/os-specific/linux/bluez/default.nix +++ b/pkgs/os-specific/linux/bluez/default.nix @@ -24,7 +24,11 @@ stdenv.mkDerivation rec { # gstreamer gst_plugins_base ]; - configureFlags = "--localstatedir=/var --enable-cups"; + configureFlags = [ + "--localstatedir=/var" + "--enable-cups" + "--with-systemdunitdir=$(out)/etc/systemd/system" + ]; # Work around `make install' trying to create /var/lib/bluetooth. installFlags = "statedir=$(TMPDIR)/var/lib/bluetooth";