vlc: fix eval on aarch64 after #242080

`null`s are not allowed in `env`.
This commit is contained in:
K900 2023-07-09 11:07:41 +03:00
parent cfab6ff2f7
commit 460b62a16d

View file

@ -202,10 +202,11 @@ stdenv.mkDerivation (finalAttrs: {
++ optional (waylandSupport && withQt5) qtwayland; ++ optional (waylandSupport && withQt5) qtwayland;
env = { env = {
LIVE555_PREFIX = if stdenv.hostPlatform.isAarch then null else live555;
# vlc depends on a c11-gcc wrapper script which we don't have so we need to # vlc depends on a c11-gcc wrapper script which we don't have so we need to
# set the path to the compiler # set the path to the compiler
BUILDCC = "${stdenv.cc}/bin/gcc"; BUILDCC = "${stdenv.cc}/bin/gcc";
} // lib.optionalAttrs (!stdenv.hostPlatform.isAarch) {
LIVE555_PREFIX = live555;
}; };
patches = [ patches = [