From 8a76bc9fb0918548b9bffaa39105ac63135d1c5d Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Sun, 8 Nov 2015 14:18:15 -0500 Subject: Only require libsystem on darwin Fixes #688 --- corepkgs/buildenv.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'corepkgs') diff --git a/corepkgs/buildenv.nix b/corepkgs/buildenv.nix index 4a23d15a9a..b4946457f1 100644 --- a/corepkgs/buildenv.nix +++ b/corepkgs/buildenv.nix @@ -23,10 +23,10 @@ derivation { # network traffic, so don't do that. preferLocalBuild = true; - __impureHostDeps = [ + __impureHostDeps = if builtins.currentSystem == "x86_64-darwin" then [ "/usr/lib/libSystem.dylib" "/usr/lib/system" - ]; + ] else null; inherit chrootDeps; } -- cgit 1.4.1