From 6b45512590f0c0d50498a8d69012dcfeec9c9334 Mon Sep 17 00:00:00 2001 From: Daniel Firth Date: Tue, 4 Nov 2025 14:46:08 +0000 Subject: [PATCH] Add cachix-push app --- nix/cachix-push.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 nix/cachix-push.nix diff --git a/nix/cachix-push.nix b/nix/cachix-push.nix new file mode 100644 index 00000000000..07cf54cb41b --- /dev/null +++ b/nix/cachix-push.nix @@ -0,0 +1,14 @@ +_: { + perSystem = { pkgs, ... }: { + apps.cachix-push = { + type = "app"; + program = "${pkgs.writeShellApplication { + name = "cachix-push"; + meta.description = "Build all flake outputs and push them to cachix."; + text = '' + ${pkgs.omnix}/bin/om ci run | ${pkgs.cachix}/bin/cachix push cardano-scaling + ''; + }}/bin/cachix-push"; + }; + }; +}