Skip to content

Commit

Permalink
ci(cachix): push only resulting packages without vendored deps
Browse files Browse the repository at this point in the history
Free Cachix plan only has 5GiB of storage and vendored deps are more
than 1 GiB per platform. They are easier to build compared to
the server binaries which can take several hours to build,
so they can be removed.
  • Loading branch information
thecaralice committed Oct 3, 2024
1 parent 3874a11 commit f35bcd4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@
flake.lib = import ./lib { inherit nixpkgs; };

perSystem =
{ pkgs, ... }:
{
pkgs,
lib,
self',
...
}:
let
craneLib = crane.mkLib pkgs;
in
Expand All @@ -50,6 +55,7 @@
githubActions = {
cachix.enable = true;
cachix.cacheName = "trieve";
cachix.pushFilter = "trieve-deps";
checkAllSystems = false;
};
};
Expand Down

0 comments on commit f35bcd4

Please sign in to comment.