git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #104844 from marsam/fix-mpv-darwin

mpv: fix build on darwin

commitfa8faa1c31033e8c242ea8c78b4cd28c9b7e26a3 authorMartin Weinelt <mweinelt@users.noreply.github.com> dateWed 25 Nov 2020, 03:50 (6 years ago) parent731c5487a4b523
1 file changed+1−9
pkgs/applications/video/mpv/default.nix+1−9
pkgs/applications/video/mpv/default.nix+1−9
@@ -1,4 +1,4 @@
1−{ config, stdenv, fetchurl, fetchFromGitHub, fetchpatch
1+{ config, stdenv, fetchFromGitHub
22, addOpenGLRunpath, docutils, perl, pkgconfig, python3, wafHook, which
33, ffmpeg, freefont_ttf, freetype, libass, libpthreadstubs, mujs
44, nv-codec-headers, lua, libuchardet, libiconv ? null
@@ -185,14 +185,6 @@ in stdenv.mkDerivation rec {
185185 python3 TOOLS/osxbundle.py -s build/mpv
186186 '';
187187
188− patches = stdenv.lib.optionals stdenv.isDarwin [
189− # Fix cocoa backend. Remove with the next release
190− (fetchpatch {
191− url = "https://github.com/mpv-player/mpv/commit/188169854313b99d01da8f69fe129f0a487eb7c4.patch";
192− sha256 = "062sz4666prb2wg1rn5q8brqkzlq6lxn8sxic78a8lb0125c01f7";
193− })
194− ];
195−
196188 postInstall = ''
197189 # Use a standard font
198190 mkdir -p $out/share/mpv