From 9a2dcdc1db764d6b193856e543dad4624111a58a Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Wed, 13 Nov 2019 22:56:45 -0500 Subject: [PATCH 1/2] sndio: fix lib install name on darwin --- pkgs/misc/sndio/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/misc/sndio/default.nix b/pkgs/misc/sndio/default.nix index 0f09483a8571..c415714f573c 100644 --- a/pkgs/misc/sndio/default.nix +++ b/pkgs/misc/sndio/default.nix @@ -12,6 +12,7 @@ stdenv.mkDerivation rec { }; postFixup = stdenv.lib.optionalString stdenv.isDarwin '' + install_name_tool -id $out/lib/libsndio.7.0.dylib $out/lib/libsndio.7.0.dylib for file in $out/bin/*; do install_name_tool -change libsndio.7.0.dylib $out/lib/libsndio.dylib $file done From 3510e233dcd7d8377c1cb2cb621eacbd209e6b81 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Wed, 13 Nov 2019 22:57:29 -0500 Subject: [PATCH 2/2] mpv: disable samba support on darwin --- pkgs/applications/video/mpv/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/video/mpv/default.nix b/pkgs/applications/video/mpv/default.nix index 78e0544fa1d1..f3c7d3761004 100644 --- a/pkgs/applications/video/mpv/default.nix +++ b/pkgs/applications/video/mpv/default.nix @@ -39,7 +39,7 @@ , pulseSupport ? config.pulseaudio or stdenv.isLinux, libpulseaudio ? null , rubberbandSupport ? stdenv.isLinux, rubberband ? null , screenSaverSupport ? true, libXScrnSaver ? null -, sambaSupport ? true, samba ? null +, sambaSupport ? stdenv.isLinux, samba ? null , sdl2Support ? true, SDL2 ? null , sndioSupport ? true, sndio ? null , speexSupport ? true, speex ? null