summary refs log tree commit diff
path: root/pkgs/servers/mpd
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2018-01-31 06:50:20 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2018-01-31 06:50:20 +0000
commit1c04923d6482785238b6bd8f656ac2c0fdd8461f (patch)
tree8cc6545237c43ddab5618416358e3b60947b4f29 /pkgs/servers/mpd
parentfefa9ef756298e6863ece2e93bd057124b78452f (diff)
downloadnixpkgs-1c04923d6482785238b6bd8f656ac2c0fdd8461f.tar
nixpkgs-1c04923d6482785238b6bd8f656ac2c0fdd8461f.tar.gz
nixpkgs-1c04923d6482785238b6bd8f656ac2c0fdd8461f.tar.bz2
nixpkgs-1c04923d6482785238b6bd8f656ac2c0fdd8461f.tar.lz
nixpkgs-1c04923d6482785238b6bd8f656ac2c0fdd8461f.tar.xz
nixpkgs-1c04923d6482785238b6bd8f656ac2c0fdd8461f.tar.zst
nixpkgs-1c04923d6482785238b6bd8f656ac2c0fdd8461f.zip
mpd_clientlib: fix dynamic library on darwin
Diffstat (limited to 'pkgs/servers/mpd')
-rw-r--r--pkgs/servers/mpd/clientlib.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/servers/mpd/clientlib.nix b/pkgs/servers/mpd/clientlib.nix
index 269b20dbebb..dab63a5bad8 100644
--- a/pkgs/servers/mpd/clientlib.nix
+++ b/pkgs/servers/mpd/clientlib.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, meson, ninja }:
+{ stdenv, fetchFromGitHub, meson, ninja, fixDarwinDylibNames }:
 
 stdenv.mkDerivation rec {
   version = "2.13";
@@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
     sha256 = "1g1n6rk8kn87mbjqxxj0vi7haj8xx21xmqlzbrx2fvyp5357zvsq";
   };
 
-  nativeBuildInputs = [ meson ninja ];
+  nativeBuildInputs = [ meson ninja ]
+  ++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
 
   meta = with stdenv.lib; {
     description = "Client library for MPD (music player daemon)";