dmrconfig: Install udev rules
This commit is contained in:
parent
c5e8ae3f0b
commit
9ec968fbf0
|
@ -20,8 +20,10 @@ stdenv.mkDerivation rec {
|
|||
substituteInPlace Makefile --replace /usr/local/bin/dmrconfig $out/bin/dmrconfig
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/bin
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/lib/udev/rules.d
|
||||
make install
|
||||
install 99-dmr.rules $out/lib/udev/rules.d/99-dmr.rules
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue