mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-03-14 08:31:15 +01:00
Install nix stuff in build action
This commit is contained in:
parent
6ebe716a63
commit
31e07098ca
1 changed files with 8 additions and 0 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
|
@ -30,5 +30,13 @@ jobs:
|
|||
matrix:
|
||||
package: ${{ fromJson(needs.load_packages.outputs.matrix) }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v20
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- uses: cachix/cachix-action@v12
|
||||
with:
|
||||
name: traxys
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
- run: NIXPKGS_ALLOW_UNFREE=1 nix build --impure '.#${{ matrix.package }}'
|
||||
- run: nix build .#checks.x86_64-linux.launch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue