Skip to content

Commit

Permalink
Add command to cache outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrw committed Aug 8, 2023
1 parent 9af98e4 commit 845f1b8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dotenv_if_exists
9 changes: 9 additions & 0 deletions bin/home-cache.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

set -euo pipefail

. "$(dirname "$(readlink -f "$0")")/utils.sh"

./bin/home-build.sh --json \
| jq -r '.[].outputs | to_entries[].value' \
| cachix push mindriot101-home

0 comments on commit 845f1b8

Please sign in to comment.