From 58ea71f13c089242c357f0458f14b90556a7e5c9 Mon Sep 17 00:00:00 2001 From: Ryan Cao <70191398+ryanccn@users.noreply.github.com> Date: Wed, 19 Jul 2023 10:37:21 +0800 Subject: [PATCH] add nixpkgs? --- .github/workflows/test.yml | 6 +++++- .gitignore | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3369d42..89cfafb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/.gitignore b/.gitignore index 24be91f..5323301 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ node_modules/ # nix .direnv/ .envrc +result*