Fix tests on Linux

This commit is contained in:
Nicolas Mattia 2019-08-28 10:48:28 +02:00
parent 5b148cf5ef
commit a2523f2a6c

View file

@ -128,8 +128,11 @@ rec
pkgs.curl
pkgs.git
];
NIX_LDFLAGS="-F${pkgs.darwin.apple_sdk.frameworks.CoreFoundation}/Library/Frameworks -framework CoreFoundation ";
LIBGIT2_SYS_USE_PKG_CONFIG = 1;
} // pkgs.lib.optionalAttrs pkgs.stdenv.isDarwin
{
NIX_LDFLAGS="-F${pkgs.darwin.apple_sdk.frameworks.CoreFoundation}/Library/Frameworks -framework CoreFoundation ";
};
};
}