Skip to content

Commit

Permalink
actions: add nixFlags to validateFlakeStep
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Oct 10, 2023
1 parent 8603ec8 commit 8aa9bae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/validate-flakes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set default git branch (to reduce log spam)
run: git config --global init.defaultBranch master
- name: Validate Flakes
run: nix flake check
run: nix flake check --print-build-logs
name: validate-flakes
"on":
- push
Expand Down
2 changes: 1 addition & 1 deletion actions/steps.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ with constants;
};
validateFlakesStep = {
name = "Validate Flakes";
run = "nix flake check";
run = "nix flake check ${toString nixFlags}";
};
buildHomeManagerConfigurations = { hostnames ? constants.home-manager.linux.hostnames, extraNixFlags ? [ ] }: {
name = "Build Home-Manager configs for: ${builtins.concatStringsSep ", " hostnames}";
Expand Down

0 comments on commit 8aa9bae

Please sign in to comment.