more wasm
This commit is contained in:
parent
9d67af9901
commit
9ac87f93e9
5 changed files with 72 additions and 0 deletions
11
shell.nix
11
shell.nix
|
|
@ -5,6 +5,9 @@
|
|||
watchexec,
|
||||
wasm32-wasi-cabal,
|
||||
wasm32-wasi-ghc,
|
||||
writeShellApplication,
|
||||
nodejs,
|
||||
python3,
|
||||
}:
|
||||
haskellPackages.developPackage {
|
||||
name = "numbersquare";
|
||||
|
|
@ -18,6 +21,14 @@ haskellPackages.developPackage {
|
|||
watchexec
|
||||
wasm32-wasi-cabal
|
||||
wasm32-wasi-ghc
|
||||
nodejs
|
||||
(writeShellApplication {
|
||||
name = "dev-server";
|
||||
text = ''
|
||||
python -m http.server -d ./out
|
||||
'';
|
||||
runtimeInputs = [ python3 ];
|
||||
})
|
||||
]
|
||||
++ (with haskellPackages; [
|
||||
fourmolu
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue