Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
Create wrappers around nix / nix-build that divert the store to the n…
Browse files Browse the repository at this point in the history
…etlify cache directory
  • Loading branch information
wereHamster committed Aug 14, 2018
1 parent 4b4993a commit a7b619d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions run-build-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -623,3 +623,10 @@ set_go_import_path() {
cd $importPath
fi
}

nix() {
nix --store $NETLIFY_CACHE_DIR "$@"
}
nix-build() {
nix-build --store $NETLIFY_CACHE_DIR "$@"
}

0 comments on commit a7b619d

Please sign in to comment.