diff --git a/README.md b/README.md index 3e87108..ad1f206 100644 --- a/README.md +++ b/README.md @@ -38,4 +38,3 @@ $ ./flendor I don't know. I personally just use this to vendor my own flakes in my NixOS configuration, so that if my Forgejo server ever stops working, I still have the possibility to rebuild its configuration without much hassle. -test diff --git a/flendor b/flendor index 6b0e4b3..27547d7 100755 --- a/flendor +++ b/flendor @@ -87,7 +87,7 @@ while IFS= read -r k; do src=$(nix "${nixflags[@]}" flake prefetch --json "${prefetchflags[@]}" -- "$flake" | jq --exit-status --raw-output '.storePath') - rsync --recursive --delete --update --mkpath "${rsyncflags[@]}" -- "$src/" "$dest" + rsync --recursive --delete --mkpath "${rsyncflags[@]}" -- "$src/" "$dest" done < <(jq '.flakes | keys[]' <<<"$json") for path in "$vendor"/{,.}*; do