From d7d582fe088fe1ef0d1b38e838dfde5afa66d712 Mon Sep 17 00:00:00 2001 From: larstvei Date: Sat, 20 Jul 2024 18:02:06 +0200 Subject: [PATCH] Fix cachix push --- .github/workflows/cachix.yml | 3 ++- flake.nix | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 ]; }; }); }