summary refs log tree commit diff
path: root/pkgs/applications/video/mpv/default.nix
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-11-24 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2020-11-24 04:20:00 +0000
commit7a4b5238eb3c613854704c936193a70682b93e5b (patch)
treecfdd8eb53e38f44d972c25aff902609d66a6a2b1 /pkgs/applications/video/mpv/default.nix
parent731c5486294eeb9a78b2dc733e8ae7c6c836480c (diff)
downloadnixpkgs-7a4b5238eb3c613854704c936193a70682b93e5b.tar
nixpkgs-7a4b5238eb3c613854704c936193a70682b93e5b.tar.gz
nixpkgs-7a4b5238eb3c613854704c936193a70682b93e5b.tar.bz2
nixpkgs-7a4b5238eb3c613854704c936193a70682b93e5b.tar.lz
nixpkgs-7a4b5238eb3c613854704c936193a70682b93e5b.tar.xz
nixpkgs-7a4b5238eb3c613854704c936193a70682b93e5b.tar.zst
nixpkgs-7a4b5238eb3c613854704c936193a70682b93e5b.zip
mpv: fix build on darwin
Diffstat (limited to 'pkgs/applications/video/mpv/default.nix')
-rw-r--r--pkgs/applications/video/mpv/default.nix10
1 files changed, 1 insertions, 9 deletions
diff --git a/pkgs/applications/video/mpv/default.nix b/pkgs/applications/video/mpv/default.nix
index 22d34fb474c..73276f9a461 100644
--- a/pkgs/applications/video/mpv/default.nix
+++ b/pkgs/applications/video/mpv/default.nix
@@ -1,4 +1,4 @@
-{ config, stdenv, fetchurl, fetchFromGitHub, fetchpatch
+{ config, stdenv, fetchFromGitHub
 , addOpenGLRunpath, docutils, perl, pkgconfig, python3, wafHook, which
 , ffmpeg, freefont_ttf, freetype, libass, libpthreadstubs, mujs
 , nv-codec-headers, lua, libuchardet, libiconv ? null
@@ -185,14 +185,6 @@ in stdenv.mkDerivation rec {
     python3 TOOLS/osxbundle.py -s build/mpv
   '';
 
-  patches = stdenv.lib.optionals stdenv.isDarwin [
-    # Fix cocoa backend. Remove with the next release
-    (fetchpatch {
-      url = "https://github.com/mpv-player/mpv/commit/188169854313b99d01da8f69fe129f0a487eb7c4.patch";
-      sha256 = "062sz4666prb2wg1rn5q8brqkzlq6lxn8sxic78a8lb0125c01f7";
-    })
-  ];
-
   postInstall = ''
     # Use a standard font
     mkdir -p $out/share/mpv