Skip to content

Commit

Permalink
gst_all_1.gst-plugins-good: don't allow building rpicamsrc on aarch64
Browse files Browse the repository at this point in the history
MMAL is not supported on 64-bit (see [1]), so rpicamsrc cannot be built on
aarch64.

[1] raspberrypi/userland#688
  • Loading branch information
lopsided98 committed Jul 26, 2023
1 parent 7d81527 commit d6fe182
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/development/libraries/gstreamer/good/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@
, enableDocumentation ? stdenv.hostPlatform == stdenv.buildPlatform, hotdoc
}:

assert raspiCameraSupport -> (stdenv.isLinux && (stdenv.isAarch32 || stdenv.isAarch64));
# MMAL is not support on aarch64, see:
# https://github.com/raspberrypi/userland/issues/688
assert raspiCameraSupport -> (stdenv.isLinux && stdenv.isAarch32);

stdenv.mkDerivation rec {
pname = "gst-plugins-good";
Expand Down

0 comments on commit d6fe182

Please sign in to comment.