Skip to content

Commit

Permalink
mediamtx: fix build on non-linux platforms
Browse files Browse the repository at this point in the history
(cherry picked from commit 81ab584)
  • Loading branch information
fpletz authored and github-actions[bot] committed Dec 19, 2024
1 parent 538c3a5 commit 74adea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/by-name/me/mediamtx/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ buildGoModule rec {
# disable binary-only rpi camera support
substituteInPlace internal/staticsources/rpicamera/camera_disabled.go \
--replace-fail '!linux || (!arm && !arm64)' 'linux'
--replace-fail '!linux || (!arm && !arm64)' 'linux || !linux'
substituteInPlace internal/staticsources/rpicamera/{component,camera,params_serialize,pipe}.go \
--replace-fail '(linux && arm) || (linux && arm64)' 'linux && !linux'
substituteInPlace internal/staticsources/rpicamera/component_32.go \
Expand Down

0 comments on commit 74adea5

Please sign in to comment.