Skip to content

Commit

Permalink
indi-3rdparty: fix udev rules (NixOS#366371)
Browse files Browse the repository at this point in the history
  • Loading branch information
philiptaron authored Dec 19, 2024
2 parents 93173ab + 95c37d4 commit 7af5191
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,13 @@ let

libasi = buildIndi3rdParty {
pname = "libasi";

postPatch = ''
substituteInPlace 99-asi.rules \
--replace-fail "/bin/echo" "${coreutils}/bin/echo" \
--replace-fail "/bin/sh" "${bash}/bin/sh"
'';

buildInputs = [
libusb1
(lib.getLib stdenv.cc.cc)
Expand Down Expand Up @@ -344,7 +351,7 @@ let
postPatch = ''
substituteInPlace 99-player_one_astronomy.rules \
--replace-fail "/bin/echo" "${coreutils}/bin/echo" \
--replace "/bin/sh" "${bash}/bin/sh"
--replace-fail "/bin/sh" "${bash}/bin/sh"
'';

buildInputs = [
Expand Down

0 comments on commit 7af5191

Please sign in to comment.