Skip to content

Commit

Permalink
Update github actions, in sync with nixpkgs-config
Browse files Browse the repository at this point in the history
  • Loading branch information
bryango committed Aug 20, 2024
1 parent aa760f8 commit 72d5fb3
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ jobs:
build:
runs-on: ubuntu-latest
env:
NIX_CONFIG: "access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}"
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
steps:
- uses: actions/checkout@v4
Expand All @@ -18,9 +17,14 @@ jobs:
submodules: true
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-unstable
nix_path: nixpkgs=channel:nixpkgs-unstable
install_url: https://releases.nixos.org/nix/nix-2.23.3/install
extra_nix_config: "experimental-features = nix-command flakes fetch-closure"
extra_nix_config: |
experimental-features = nix-command flakes fetch-closure configurable-impure-env
impure-env = GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
trusted-users = root runner @wheel
extra-substituters = https://nix-community.cachix.org
extra-trusted-public-keys = nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
- uses: cachix/cachix-action@v12
with:
name: chezbryan
Expand Down

0 comments on commit 72d5fb3

Please sign in to comment.