1
0
Fork 0

Add build step to flake.nix

main
Bill Ewanick 2023-08-02 17:18:20 -04:00
parent e6e53be35b
commit 36394395c0
1 changed files with 6 additions and 0 deletions

View File

@ -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
'')
]; ];
}; };
}); });