From dd18c6753a37f9a2ecf023b2e6aeda31e7e76857 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 16 Jun 2022 13:11:41 +0200 Subject: [PATCH] better fix for recent nix versions --- nix/sources-dir.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/sources-dir.nix b/nix/sources-dir.nix index 223fc00..e5fa9bf 100644 --- a/nix/sources-dir.nix +++ b/nix/sources-dir.nix @@ -9,6 +9,6 @@ in lib.concatStringsSep "\n" ([ "mkdir $out" ] - ++ lib.mapAttrsToList (name: source: "ln -s ${source.outPath} $out/${name}") sources + ++ lib.mapAttrsToList (name: source: "cp -r --reflink=auto ${source.outPath} $out/${name}") sources ) )