File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 55 flake-root . url = "github:srid/flake-root" ;
66 mission-control . url = "github:Platonic-Systems/mission-control" ;
77 treefmt-nix . url = "github:numtide/treefmt-nix" ;
8+ haskell-flake = { } ;
89 } ;
910 outputs = inputs @{ self , nixpkgs , flake-parts , ... } :
1011 flake-parts . lib . mkFlake { inherit inputs ; } {
1617 ] ;
1718 perSystem = { pkgs , lib , config , ... } : {
1819 treefmt . config = {
19- projectRoot = ../. ;
20+ projectRoot = inputs . haskell-flake ;
2021 projectRootFile = "README.md" ;
2122 programs . nixpkgs-fmt . enable = true ;
2223
Original file line number Diff line number Diff line change 1414
1515 # https://github.com/srid/nixci
1616 nixci . default = let overrideInputs = { "haskell-flake" = ./. ; } ; in {
17- dev . dir = "dev" ;
17+ dev = { inherit overrideInputs ; dir = "dev" ; } ;
1818 doc . dir = "doc" ;
1919 example = { inherit overrideInputs ; dir = "example" ; } ;
2020 } ;
You can’t perform that action at this time.
0 commit comments