Skip to content

Commit 07fcee9

Browse files
Add cachix-push app
1 parent f91f0c9 commit 07fcee9

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

nix/cachix-push.nix

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{ self, ... }: {
2+
perSystem = { pkgs, ... }: {
3+
apps.cachix-push = {
4+
type = "app";
5+
program = "${pkgs.writeShellApplication {
6+
name = "cachix-push";
7+
meta.description = "Build all flake outputs and push them to cachix.";
8+
text = ''
9+
${pkgs.omnix}/bin/om ci run ${self} | cachix push cardano-scaling
10+
'';
11+
}}/bin/cachix-push";
12+
};
13+
};
14+
}

0 commit comments

Comments
 (0)