Unverified Commit 4d002bf1 authored by Randy Eckenrode's avatar Randy Eckenrode
Browse files

mpv: use the Swift stdenv on Darwin

This fixes an issue where headers from the stdenv’s clang are being used
by Swift’s clang. That does not cause issues when the stdenv on Darwin
uses clang 11, but the build will fail on aarch64-darwin with a stdenv
that uses clang 16 (due to changes in `arm_neon.h` that are not
compatible with clang 15).
parent 344ec16d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -33515,6 +33515,7 @@ with pkgs;
  } // (config.mplayer or {}));
  mpv-unwrapped = darwin.apple_sdk_11_0.callPackage ../applications/video/mpv {
    stdenv = if stdenv.isDarwin then swiftPackages.stdenv else stdenv;
    inherit lua;
  };