Use new haskell-flake (multiple projects) (#67)
This commit is contained in:
parent
d0f2e93165
commit
c9b9e3e6ff
2 changed files with 10 additions and 8 deletions
12
flake.lock
generated
12
flake.lock
generated
|
@ -20,11 +20,11 @@
|
|||
},
|
||||
"haskell-flake": {
|
||||
"locked": {
|
||||
"lastModified": 1666647145,
|
||||
"narHash": "sha256-Jzmm+BhUai/r8Qo2ZXYUnW3OIcy36OcMWNLPC7dF68E=",
|
||||
"lastModified": 1668027266,
|
||||
"narHash": "sha256-dBoydgaRP4jwDeNyEr3iJecMXEYwvaFgAEX9rsgolvk=",
|
||||
"owner": "srid",
|
||||
"repo": "haskell-flake",
|
||||
"rev": "2ef06a73fef2856fb5d0f5a8a7a4fef964e0d94f",
|
||||
"rev": "6e9b3045b7eee557a3ba658ad27672f4bf830c80",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -35,11 +35,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1666926733,
|
||||
"narHash": "sha256-+gYfOEnQVISPDRNoWm2VJD5OEuTUySt48RchLpvm61o=",
|
||||
"lastModified": 1667969101,
|
||||
"narHash": "sha256-GL53T705HO7Q/KVfbb5STx8AxFs8YgaGY8pvAZC+O7U=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "f44ba1be526c8da9e79a5759feca2365204003f6",
|
||||
"rev": "bbf77421ac51a7c93f5f0f760da99e4dbce614fa",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -16,8 +16,9 @@
|
|||
];
|
||||
perSystem = { self', config, pkgs, ... }: {
|
||||
haskellProjects.default = {
|
||||
name = "haskell-template";
|
||||
root = ./.;
|
||||
packages = {
|
||||
haskell-template.root = ./.;
|
||||
};
|
||||
buildTools = hp: {
|
||||
inherit (pkgs)
|
||||
treefmt;
|
||||
|
@ -33,6 +34,7 @@
|
|||
cabal-fmt
|
||||
fourmolu;
|
||||
};
|
||||
packages.default = self'.packages.haskell-template;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue