diff --git a/.github/workflows/cachix.yml b/.github/workflows/cachix.yml index 1ad6df5..c761d0a 100644 --- a/.github/workflows/cachix.yml +++ b/.github/workflows/cachix.yml @@ -26,5 +26,6 @@ jobs: - name: Build and Push with Cachix run: | + nix develop set -e - nix build | cachix push larstvei + nix build --json | jq -r '.[].outputs | to_entries[].value' | cachix push larstvei diff --git a/flake.nix b/flake.nix index 9b92421..ca95673 100644 --- a/flake.nix +++ b/flake.nix @@ -43,5 +43,7 @@ extraEmacsPackages = epkgs: [ epkgs.treesit-grammars.with-all-grammars ]; }; + + devShell = pkgs.mkShell { buildInputs = [ pkgs.jq ]; }; }); }