Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Build packages by cycle / Push builds to Cachix #54

Merged
merged 9 commits into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
build_command="nix flake check --impure --max-jobs auto --cores 0 --keep-going"
if dhall resolve --file /home/runner/.config/cachix/cachix.dhall | grep -q authToken; then
echo "Cachix token is present"
cachix watch-exec nixpkgs-terraform -- $build_command
cachix watch-exec nixpkgs-terraform -- $build_command
else
echo "Cachix token is not present"
$build_command
Expand Down
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
pkgs-unstable = inputs.nixpkgs-unstable.legacyPackages.${system};
};

checks = config.packages;

packages = import ./lib/packages.nix { inherit pkgs pkgs-unstable; custom-lib = self.lib; };

overlayAttrs = {
Expand Down
Loading