File tree Expand file tree Collapse file tree 3 files changed +53
-0
lines changed Expand file tree Collapse file tree 3 files changed +53
-0
lines changed Original file line number Diff line number Diff line change 2727 flake-utils . url = "github:numtide/flake-utils" ;
2828 flake-utils . inputs . systems . follows = "systems" ;
2929
30+ # ci
31+ hercules-ci-effects = {
32+ url = "github:hercules-ci/hercules-ci-effects" ;
33+ inputs . nixpkgs . follows = "nixpkgs" ;
34+ inputs . flake-parts . follows = "flake-parts" ;
35+ } ;
36+
3037 # utils
3138 systems . url = "github:nix-systems/default" ;
3239 devshell = {
5562 {
5663 imports = [
5764 inputs . devshell . flakeModule
65+ inputs . hercules-ci-effects . flakeModule
5866 inputs . treefmt-nix . flakeModule
5967 ./mkdocs.nix
6068 ./modules
6169 ./pkgs
70+ ./hercules-ci.nix
6271 ] ;
72+
6373 systems = import systems ;
6474 perSystem = {
6575 config ,
Original file line number Diff line number Diff line change 1+ {
2+ inputs ,
3+ lib ,
4+ ...
5+ } : {
6+ # configuration for the Hercules CI flake update effect
7+ # https://flake.parts/options/hercules-ci-effects.html#opt-hercules-ci.flake-update.enable
8+ hercules-ci . flake-update = {
9+ enable = true ;
10+ # runs every day at midnight UTC
11+ when . hour = 0 ;
12+ } ;
13+
14+ # disable the default job since buildbot already builds everything
15+ herculesCI . onPush . default . outputs = lib . mkForce {
16+ # use hello as a dummy output to get the checkmark
17+ inherit ( inputs . nixpkgs-unstable . legacyPackages . x86_64-linux ) hello ;
18+ } ;
19+ }
You can’t perform that action at this time.
0 commit comments