Merge pull request #56131 from mbrock/master
ipad_charge: enable installation udev rules
This commit is contained in:
commit
82dd4e03e4
@ -16,14 +16,16 @@ stdenv.mkDerivation rec {
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace Makefile \
|
substituteInPlace Makefile \
|
||||||
--replace " -o root -g root" "" \
|
--replace " -o root -g root" "" \
|
||||||
|
--replace "/usr" "$out" \
|
||||||
|
--replace "/etc/udev" "$out/lib/udev"
|
||||||
|
substituteInPlace *.rules \
|
||||||
--replace "/usr" "$out"
|
--replace "/usr" "$out"
|
||||||
sed "/rules\.d/d" -i Makefile
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/{bin,lib/udev/rules.d}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user