diff options
author | K900 <me@0upti.me> | 2023-07-09 11:07:41 +0300 |
---|---|---|
committer | K900 <me@0upti.me> | 2023-07-09 11:07:41 +0300 |
commit | 460b62a16d07e7f284781ddf2c2649ee227f7fe5 (patch) | |
tree | 079839b97345d6f32ab2aa87e95ade7b72058f21 | |
parent | cfab6ff2f72117ac160e8de0bbd45a0aad647820 (diff) |
vlc: fix eval on aarch64 after #242080
`null`s are not allowed in `env`.
-rw-r--r-- | pkgs/applications/video/vlc/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/video/vlc/default.nix b/pkgs/applications/video/vlc/default.nix index c9c09cc07b2d3..bb0a26e94fb33 100644 --- a/pkgs/applications/video/vlc/default.nix +++ b/pkgs/applications/video/vlc/default.nix @@ -202,10 +202,11 @@ stdenv.mkDerivation (finalAttrs: { ++ optional (waylandSupport && withQt5) qtwayland; 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 # set the path to the compiler BUILDCC = "${stdenv.cc}/bin/gcc"; + } // lib.optionalAttrs (!stdenv.hostPlatform.isAarch) { + LIVE555_PREFIX = live555; }; patches = [ |