mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
add hotplugging stuff conditionally
svn path=/nixpkgs/trunk/; revision=4633
This commit is contained in:
parent
082d8e6796
commit
3ce62c7a5e
|
@ -1,3 +1,12 @@
|
|||
source $stdenv/setup
|
||||
|
||||
postInstall() {
|
||||
if test $hotplugSupport = "1" ; then
|
||||
ensureDir $out/etc/hotplug/usb/
|
||||
cp tools/hotplug/* $out/etc/hotplug/usb/
|
||||
fi
|
||||
}
|
||||
|
||||
postInstall=postInstall
|
||||
|
||||
genericBuild
|
||||
|
|
Loading…
Reference in a new issue