fix
This commit is contained in:
parent
5e860388de
commit
ea50fe4eed
2 changed files with 1 additions and 2 deletions
|
@ -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
|
|
||||||
|
|
2
flendor
2
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')
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue