File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed
Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 88 runs-on : ubuntu-latest
99 steps :
1010 - uses : cachix/install-nix-action@v30
11- - run : nix flake check -L github:$GITHUB_REPOSITORY/$GITHUB_SHA?dir=checkmate --override-input target github:$GITHUB_REPOSITORY/$GITHUB_SHA
11+ - uses : actions/checkout@v5
12+ - run : |
13+ cd checkmate
14+ nix flake lock
15+ nix flake update target
16+ nix flake check -L
Original file line number Diff line number Diff line change 55 aspectsType = lib . types . submodule (
66 { config , ... } :
77 {
8- freeformType = lib . types . attrsOf ( lib . types . either aspectSubmoduleAttrs providerType ) ;
8+ freeformType = lib . types . attrsOf providerType ;
99 config . _module . args . aspects = config ;
1010 }
1111 ) ;
3030 ) ;
3131
3232 functionProviderType = lib . types . either functionToAspect ( lib . types . functionTo providerType ) ;
33- providerType = lib . types . either functionProviderType aspectSubmodule ;
33+ providerType = lib . types . either aspectSubmoduleAttrs functionProviderType ;
3434
3535 aspectSubmoduleAttrs = lib . types . addCheck aspectSubmodule (
3636 m : ( ! builtins . isFunction m ) || ( isAspectSubmoduleFn m )
7878 options . provides = lib . mkOption {
7979 description = "Providers of aspect for other aspects" ;
8080 default = { } ;
81- type = lib . types . submodule (
82- { config , ... } :
83- {
84- freeformType = lib . types . attrsOf providerType ;
85- config . _module . args . provides = config ;
86- }
87- ) ;
81+ type = aspectsType ;
8882 } ;
8983 options . __functor = lib . mkOption {
9084 internal = true ;
You can’t perform that action at this time.
0 commit comments