diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 84dbd324..b02a9a37 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -12,6 +12,7 @@ jobs: nix: runs-on: ubuntu-latest name: nix-build + environment: cachix timeout-minutes: 15 steps: - uses: actions/checkout@v2.4.0 @@ -23,5 +24,11 @@ jobs: extra_nix_config: | experimental-features = nix-command flakes fetch-depth: 0 + - uses: cachix/cachix-action@v10 + with: + name: zellij + # If you chose API tokens for write access OR if you have a private cache + authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - run: nix flake check --print-build-logs --show-trace - run: nix build + - run: nix develop --profile devShell diff --git a/flake.nix b/flake.nix index af11e7ca..5873ebd2 100644 --- a/flake.nix +++ b/flake.nix @@ -67,6 +67,8 @@ pkgs.nixpkgs-fmt # optimizes wasm binaries pkgs.binaryen + + pkgs.jq ]; in