From 34b0d860d59663ac5914d087d0a5dcfd872a1334 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Sat, 13 Dec 2014 12:55:11 +0300 Subject: [PATCH] Try harder to use out-of-store udev rule location --- pkgs/os-specific/linux/eudev/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/eudev/default.nix b/pkgs/os-specific/linux/eudev/default.nix index f0370fea6eae..16eb933e176c 100644 --- a/pkgs/os-specific/linux/eudev/default.nix +++ b/pkgs/os-specific/linux/eudev/default.nix @@ -22,7 +22,10 @@ stdenv.mkDerivation { "--localstatedir=/var" "--sysconfdir=/etc" ]; - makeFlags = "hwdb_bin=/var/lib/udev/hwdb.bin"; + makeFlags = [ + "hwdb_bin=/var/lib/udev/hwdb.bin" + "udevrulesdir=/etc/udev/rules.d" + ]; installFlags = [ "localstatedir=$(TMPDIR)/var" @@ -30,6 +33,7 @@ stdenv.mkDerivation { "udevconfdir=$(out)/etc/udev" "udevhwdbbin=$(out)/var/lib/udev/hwdb.bin" "udevhwdbdir=$(out)/var/lib/udev/hwdb.d" + "udevrulesdir=$(out)/var/lib/udev/rules.d" ]; enableParallelBuilding = true; meta = {