From d9687c93ee9fe627bcda3a01b80ecf9faf9ddc65 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Sun, 31 Jul 2022 15:19:28 +0300 Subject: [PATCH] Nix: add cachix (#448) --- .github/workflows/nix-build.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nix-build.yaml b/.github/workflows/nix-build.yaml index b0905fee..bf388ed1 100644 --- a/.github/workflows/nix-build.yaml +++ b/.github/workflows/nix-build.yaml @@ -13,9 +13,13 @@ jobs: - name: Install nix uses: cachix/install-nix-action@v17 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: | auto-optimise-store = true 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