diff options
author | Shea Levy <shea@shealevy.com> | 2015-11-08T19·39-0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2015-11-08T19·39-0500 |
commit | 8a2a3b65795912dc71edc2b0b139811bbae998ed (patch) | |
tree | e5eb3696faa52caab0e742ccac137d2fcf6d2838 | |
parent | 5bc12454fd0ca07c26de197daaf0b52188d517b5 (diff) | |
parent | 8a76bc9fb0918548b9bffaa39105ac63135d1c5d (diff) |
Merge branch 'libsystem-darwin-only'
Only require libsystem on darwin
-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; } |