* 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
This commit is contained in:
Eelco Dolstra 2009-09-26 18:56:53 +00:00
parent 363f3fd1b9
commit 77ba759b5a

View file

@ -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";
}