diff --git a/corepkgs/buildenv.nix b/corepkgs/buildenv.nix index 4a23d15a..b4946457 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; }