first commit
This commit is contained in:
commit
142d7feefb
7 changed files with 109 additions and 0 deletions
26
shell.nix
Normal file
26
shell.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
haskellPackages,
|
||||
haskell,
|
||||
zlib,
|
||||
}:
|
||||
haskellPackages.developPackage {
|
||||
name = "numbersquare";
|
||||
root = ./.;
|
||||
modifier =
|
||||
let
|
||||
addBuildTools =
|
||||
drv:
|
||||
haskell.lib.addBuildTools drv (
|
||||
with haskellPackages;
|
||||
[
|
||||
fourmolu
|
||||
haskell-language-server
|
||||
cabal-install
|
||||
ghcid
|
||||
cabal-fmt
|
||||
]
|
||||
);
|
||||
addExtraLibraries = drv: haskell.lib.addExtraLibraries drv [ zlib ];
|
||||
in
|
||||
drv: addExtraLibraries (addBuildTools drv);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue