atk: fix darwin install_name

This commit is contained in:
Daiderd Jordan 2018-03-23 23:08:15 +01:00
parent f0e5972526
commit 2700690f17
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -1,9 +1,12 @@
{ stdenv, fetchurl, meson, ninja, gettext, pkgconfig, glib, libintlOrEmpty, gobjectIntrospection, gnome3 }:
{ stdenv, fetchurl, meson, ninja, gettext, pkgconfig, glib
, fixDarwinDylibNames, libintlOrEmpty, gobjectIntrospection, gnome3
}:
let
pname = "atk";
version = "2.28.1";
in
stdenv.mkDerivation rec {
name = "${pname}-${version}";
@ -22,7 +25,8 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
buildInputs = libintlOrEmpty;
buildInputs = libintlOrEmpty
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
nativeBuildInputs = [ meson ninja pkgconfig gettext gobjectIntrospection ];