mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
* 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:
parent
363f3fd1b9
commit
77ba759b5a
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user