summary refs log tree commit diff
path: root/pkgs/applications/video/mpv/default.nix
diff options
context:
space:
mode:
authorZhong Jianxin <azuwis@gmail.com>2023-02-28 11:14:00 +0800
committerZhong Jianxin <azuwis@gmail.com>2023-02-28 11:14:00 +0800
commit8a28ae851dee5306de51352300fceb692bd9c389 (patch)
treeb2346254f71e9d80b3585cd3103a7596acfacf6f /pkgs/applications/video/mpv/default.nix
parent5b8e896dbadd36fecc96dc77216517599c260ca7 (diff)
downloadnixpkgs-8a28ae851dee5306de51352300fceb692bd9c389.tar
nixpkgs-8a28ae851dee5306de51352300fceb692bd9c389.tar.gz
nixpkgs-8a28ae851dee5306de51352300fceb692bd9c389.tar.bz2
nixpkgs-8a28ae851dee5306de51352300fceb692bd9c389.tar.lz
nixpkgs-8a28ae851dee5306de51352300fceb692bd9c389.tar.xz
nixpkgs-8a28ae851dee5306de51352300fceb692bd9c389.tar.zst
nixpkgs-8a28ae851dee5306de51352300fceb692bd9c389.zip
mpv: Only enable swift support on aarch64-darwin
This commit should be reverted after [x86_64-darwin build failure][1] is
fixed

[1]: https://logs.nix.ci/?key=nixos/nixpkgs.214944&attempt_id=76802592-760c-47e1-9141-4465b7c78f4c
Diffstat (limited to 'pkgs/applications/video/mpv/default.nix')
-rw-r--r--pkgs/applications/video/mpv/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/video/mpv/default.nix b/pkgs/applications/video/mpv/default.nix
index 61680daf051..0fa8486e15b 100644
--- a/pkgs/applications/video/mpv/default.nix
+++ b/pkgs/applications/video/mpv/default.nix
@@ -66,7 +66,7 @@
 , sdl2Support        ? true,           SDL2
 , sixelSupport       ? false,          libsixel
 , speexSupport       ? true,           speex
-, swiftSupport       ? stdenv.isDarwin, swift
+, swiftSupport       ? stdenv.isDarwin && stdenv.isAarch64, swift
 , theoraSupport      ? true,           libtheora
 , vaapiSupport       ? stdenv.isLinux, libva
 , vapoursynthSupport ? false,          vapoursynth