diff options
Diffstat (limited to 'corepkgs')
-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; } |