From 77ba759b5ac3e2fa92e8de58ac562474a4dac5f0 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 26 Sep 2009 18:56:53 +0000 Subject: [PATCH] * Install HAL's umount helper. This is necessary to allow non-root users to unmount or eject removable media mounted through HAL from the command-line. svn path=/nixpkgs/trunk/; revision=17447 --- pkgs/os-specific/linux/hal/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/os-specific/linux/hal/default.nix b/pkgs/os-specific/linux/hal/default.nix index f62d4cd1eb3..662ca8e3109 100644 --- a/pkgs/os-specific/linux/hal/default.nix +++ b/pkgs/os-specific/linux/hal/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { --localstatedir=/var --with-eject=${eject}/bin/eject --with-linux-input-header=${stdenv.glibc}/include/linux/input.h + --enable-umount-helper ''; propagatedBuildInputs = [libusb libsmbios]; @@ -41,4 +42,6 @@ stdenv.mkDerivation rec { --replace /bin/umount ${utillinuxng}/bin/umount done ''; + + installFlags = "slashsbindir=$(out)/sbin"; }