From a2523f2a6c336085a3e3cff31c3c3ea96a903c26 Mon Sep 17 00:00:00 2001 From: Nicolas Mattia Date: Wed, 28 Aug 2019 10:48:28 +0200 Subject: [PATCH] Fix tests on Linux --- test.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test.nix b/test.nix index 815956d..5a50020 100644 --- a/test.nix +++ b/test.nix @@ -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 "; + }; }; }