Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

json-glib: fixup darwin install_name

Couldn't figure out how to fix it durning the build.

+6 -2
+6 -2
pkgs/development/libraries/json-glib/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, glib, meson, ninja, pkgconfig, gettext, gobjectIntrospection, dbus, libintlOrEmpty }: 1 + { stdenv, fetchurl, fetchpatch, glib, meson, ninja, pkgconfig, gettext 2 + , gobjectIntrospection, dbus, libintlOrEmpty 3 + , fixDarwinDylibNames 4 + }: 2 5 3 6 stdenv.mkDerivation rec { 4 7 name = "json-glib-${minVer}.2"; ··· 11 14 12 15 propagatedBuildInputs = [ glib ]; 13 16 nativeBuildInputs = [ meson ninja pkgconfig gettext gobjectIntrospection ]; 14 - buildInputs = libintlOrEmpty; 17 + buildInputs = libintlOrEmpty 18 + ++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames; 15 19 16 20 NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl"; 17 21