From b55de0a357910702719f0ba53daf7554bca091d3 Mon Sep 17 00:00:00 2001 From: surtur Date: Fri, 12 Aug 2022 21:42:00 +0200 Subject: [PATCH] flake(upcache): cache all outputs --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index 6e229d5..41f8b3e 100644 --- a/flake.nix +++ b/flake.nix @@ -160,6 +160,9 @@ xargs nix-store --realise | \ xargs nix-store --query --requisites | \ cachix push ${projname} + nix build --json \ + | jq -r '.[].outputs | to_entries[].value' \ + | cachix push ${projname} ''; add-license = pkgs.writeShellScriptBin "add-license" '' go run github.com/google/addlicense@v1.0.0 -v \