diff options
-rw-r--r-- | bash/fake-symlinks.sh | 5 | ||||
l--------- | utils.nix | 1 |
2 files changed, 2 insertions, 4 deletions
diff --git a/bash/fake-symlinks.sh b/bash/fake-symlinks.sh index 06f1243..42a483b 100644 --- a/bash/fake-symlinks.sh +++ b/bash/fake-symlinks.sh @@ -4,15 +4,12 @@ if [[ -n "$GITHUB_TOKEN" ]]; then envsubst < "$DOTFILES/git/gitconfig.ini" > ~/.gitconfig fi - SRHT_REPOS=(website cement dotfiles) SRHT_REPOS_PATH="$HOME/dev/libre" for repo in "${SRHT_REPOS[@]}"; do REPO="$repo" envsubst < "$DOTFILES/templates/sr-ht-build.yaml" > "$SRHT_REPOS_PATH/$repo/.build.yml" -done - -for repo in "${SRHT_REPOS[@]}"; do + cp "$DOTFILES/nixos/utils.nix" "$SRHT_REPOS_PATH/$repo/utils.nix" if [[ "$repo" != "website" ]]; then REPO="$repo" envsubst < "$DOTFILES/templates/env.sh" > "$SRHT_REPOS_PATH/$repo/env.sh" fi diff --git a/utils.nix b/utils.nix new file mode 120000 index 0000000..f386d80 --- /dev/null +++ b/utils.nix @@ -0,0 +1 @@ +nixos/utils.nix
\ No newline at end of file |