From 410bba8f9547f00d1d196b3d424f908bf2f2a3c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benno=20F=C3=BCnfst=C3=BCck?= Date: Fri, 3 Mar 2017 12:03:50 +0100 Subject: [PATCH] libbladeRF: fix udev rule location in $out Shell variables in cmakeFlags are not expanded, so the rules instead ended up in `$out/'$out'/etc/udev/rules.d`. --- pkgs/development/libraries/libbladeRF/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libbladeRF/default.nix b/pkgs/development/libraries/libbladeRF/default.nix index b8a4466c8c33..1411474195d3 100644 --- a/pkgs/development/libraries/libbladeRF/default.nix +++ b/pkgs/development/libraries/libbladeRF/default.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Debug" - "-DUDEV_RULES_PATH=$out/etc/udev/rules.d" + "-DUDEV_RULES_PATH=etc/udev/rules.d" "-DINSTALL_UDEV_RULES=ON" "-DBUILD_DOCUMENTATION=ON" ];