Only require libsystem on darwin

Fixes #688
This commit is contained in:
Shea Levy 2015-11-08 14:18:15 -05:00
parent 5bc12454fd
commit 8a76bc9fb0

View file

@ -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;
}