aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-05-31 06:33:52 -0300
committerEuAndreh <eu@euandre.org>2019-05-31 06:33:52 -0300
commit623f4482eeec94693e7aeecdc639afb6204da9f2 (patch)
treed8c2c8035e88f33786755c2125375634963bf656
parentAdd orgMkDocs derivation to utils.nix (diff)
downloaddotfiles-623f4482eeec94693e7aeecdc639afb6204da9f2.tar.gz
dotfiles-623f4482eeec94693e7aeecdc639afb6204da9f2.tar.xz
cp utils.nix in fake-symlinks.sh
-rw-r--r--bash/fake-symlinks.sh5
l---------utils.nix1
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