diff options
author | Shea Levy <shea@shealevy.com> | 2015-11-08T19·18-0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2015-11-08T19·18-0500 |
commit | 8a76bc9fb0918548b9bffaa39105ac63135d1c5d (patch) | |
tree | e5eb3696faa52caab0e742ccac137d2fcf6d2838 /corepkgs/buildenv.nix | |
parent | 5bc12454fd0ca07c26de197daaf0b52188d517b5 (diff) |
Only require libsystem on darwin
Fixes #688
Diffstat (limited to 'corepkgs/buildenv.nix')
-rw-r--r-- | corepkgs/buildenv.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/corepkgs/buildenv.nix b/corepkgs/buildenv.nix index 4a23d15a9ab8..b4946457f167 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; } |