From b72221905b3c36e2638d316d0b842b29f12f5d4c Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Fri, 15 Nov 2024 14:53:04 -0600 Subject: [PATCH] Remove '.' entry Having an explicit folder in the tar that is named "." causes it to do bad things to the current directory and its permissions when it is unpacked. It also introduces an extra level of effort not needed. So let's not do that --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 9859dba..a79c9d9 100644 --- a/flake.nix +++ b/flake.nix @@ -69,7 +69,7 @@ installPhase = '' mkdir -p $out pushd ${win.sword} - ${pkgs.gnutar}/bin/tar cvhaf $out/sword.tar.xz . + ${pkgs.gnutar}/bin/tar cvhaf $out/sword.tar.xz * ''; }; };