This commit is contained in:
Lukas Wurzinger 2025-07-26 16:16:08 +02:00
parent 5e860388de
commit ea50fe4eed
No known key found for this signature in database
2 changed files with 1 additions and 2 deletions

View file

@ -38,4 +38,3 @@ $ ./flendor
I don't know. 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. 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

View file

@ -87,7 +87,7 @@ while IFS= read -r k; do
src=$(nix "${nixflags[@]}" flake prefetch --json "${prefetchflags[@]}" -- "$flake" | jq --exit-status --raw-output '.storePath') 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") done < <(jq '.flakes | keys[]' <<<"$json")
for path in "$vendor"/{,.}*; do for path in "$vendor"/{,.}*; do