Nix: add cachix (#448)

This commit is contained in:
Mihai Fufezan 2022-07-31 15:19:28 +03:00 committed by GitHub
parent 9be239dac6
commit d9687c93ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,9 +13,13 @@ jobs:
- name: Install nix - name: Install nix
uses: cachix/install-nix-action@v17 uses: cachix/install-nix-action@v17
with: with:
install_url: https://releases.nixos.org/nix/nix-2.8.0/install install_url: https://releases.nixos.org/nix/nix-2.10.3/install
extra_nix_config: | extra_nix_config: |
auto-optimise-store = true auto-optimise-store = true
experimental-features = nix-command flakes experimental-features = nix-command flakes
- name: Build HyprLand with default settings - uses: cachix/cachix-action@v10
with:
name: hyprland
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build Hyprland with default settings
run: nix build --print-build-logs run: nix build --print-build-logs