Add build step to flake.nix
parent
e6e53be35b
commit
36394395c0
|
@ -19,11 +19,17 @@
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
devShells.default = pkgs.mkShell {
|
devShells.default = pkgs.mkShell {
|
||||||
|
name = "seal-generator-shell";
|
||||||
|
|
||||||
buildInputs = with pkgs.haskellPackages;
|
buildInputs = with pkgs.haskellPackages;
|
||||||
[
|
[
|
||||||
ghc'
|
ghc'
|
||||||
hlint
|
hlint
|
||||||
haskell-language-server
|
haskell-language-server
|
||||||
|
|
||||||
|
(pkgs.writeShellScriptBin "build-seal-generator" ''
|
||||||
|
${ghc'}/bin/ghc -outputdir dist -O2 -static generateSealPosts.hs
|
||||||
|
'')
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue