Skip to content

Commit

Permalink
Try manually pushing nix flakes to cachix
Browse files Browse the repository at this point in the history
  • Loading branch information
mpscholten committed Jul 14, 2023
1 parent 7fd9c8c commit 7d42a5b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ jobs:
echo 'GHC_OPTIONS+= -rtsopts=all\n.SHELLFLAGS := -eu -o pipefail -c\n\n'|cat - Makefile.old > Makefile
nix-shell --run "new-application Web && make build/bin/RunUnoptimizedProdServer"
- run: |
cd ihp-boilerplate && nix develop --impure --command "true"
cd ihp-boilerplate && nix develop --impure --profile ihp-boilerplate-profile --command "true"
# Cachix doesn't natively support nix flakes in it's cachix-action
# See https://github.com/cachix/cachix-action/issues/47
cachix push digitallyinduced ihp-boilerplate-profile
# Also build the framework's dev env
- run: |
nix develop --impure --command "true"
nix develop --impure --profile ihp-profile --command "true"
cachix push digitallyinduced ihp-profile

0 comments on commit 7d42a5b

Please sign in to comment.