From 70c378891e923f8983d905fb76d30bf86b03a5c8 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Tue, 10 Apr 2018 18:55:25 -0500 Subject: [PATCH] unix-tools: copy instead of linking This prevents big closures from getting pulled in. --- pkgs/top-level/unix-tools.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/unix-tools.nix b/pkgs/top-level/unix-tools.nix index 69bd6b7a7cc..919ff9e8106 100644 --- a/pkgs/top-level/unix-tools.nix +++ b/pkgs/top-level/unix-tools.nix @@ -24,7 +24,7 @@ let exit 1 fi - ln -s "${provider}" "$out/bin/${cmd}" + cp "${provider}" "$out/bin/${cmd}" ''; in rec {