Skip to content

Commit

Permalink
also package sdcard rescan rules
Browse files Browse the repository at this point in the history
  • Loading branch information
hotburger committed Sep 29, 2024
1 parent 4ee5a3b commit 3a9fff7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkgs/jupiter-hw-support/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,12 @@ stdenv.mkDerivation {
--replace-warn ". /usr/lib/hwsupport" ". $out/lib/hwsupport"
mkdir -p $out/lib/udev/rules.d
cp usr/lib/udev/rules.d/99-steamos-automount.rules $out/lib/udev/rules.d
cp usr/lib/udev/rules.d/99-sdcard-rescan.rules $out/lib/udev/rules.d
substitute usr/lib/udev/rules.d/99-steamos-automount.rules $out/lib/udev/rules.d/99-steamos-automount.rules \
--replace-warn "/bin/systemd-run" "${systemd}/bin/systemd-run" \
--replace-warn "/usr/lib/hwsupport" "$out/lib/hwsupport"
substituteInPlace $out/lib/udev/rules.d/*.rules \
--replace-fail "/bin/systemd-run" "${systemd}/bin/systemd-run" \
--replace-fail "/usr/lib/hwsupport" "$out/lib/hwsupport"
${resholve.phraseSolution "jupiter-hw-support" solution}
Expand Down

0 comments on commit 3a9fff7

Please sign in to comment.