From 3d35555ef7d316e8c249891d31d7eb6381e70960 Mon Sep 17 00:00:00 2001 From: LeMarsu Date: Tue, 4 Jun 2024 00:47:37 +0200 Subject: [PATCH] fix: move files instead of copying them There was left over files in sloth-flake in the store. --- lib/deps.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/deps.nix b/lib/deps.nix index 6b96ef3..73d5773 100644 --- a/lib/deps.nix +++ b/lib/deps.nix @@ -82,10 +82,10 @@ buildPhase = '' dir=lua/sloth-flake mkdir -p $dir - cp *.lua $dir + mv *.lua $dir for d in *; do if [[ -d "$d" ]] && [[ "$d" != 'lua' ]]; then - cp -r "$d" $dir + mv "$d" $dir fi done