add nixpkgs?

This commit is contained in:
Ryan Cao 2023-07-19 10:37:21 +08:00
parent e0114a9f15
commit 58ea71f13c
No known key found for this signature in database
2 changed files with 6 additions and 1 deletions

View file

@ -22,6 +22,9 @@ jobs:
- name: Install Nix
uses: cachix/install-nix-action@v22
- name: Setup nixpkgs
run: nix-channel --add https://nixos.org/channels/nixpkgs-unstable && nix-channel --update
- name: Setup Attic Cache
uses: ./
with:
@ -29,4 +32,5 @@ jobs:
cache: ${{ secrets.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }}
- run: nix-build test.nix
- name: Build
run: nix-build test.nix

1
.gitignore vendored
View file

@ -5,3 +5,4 @@ node_modules/
# nix
.direnv/
.envrc
result*