added default package

This commit is contained in:
GlennWSo 2024-03-27 11:38:31 +01:00
parent 233bd99214
commit 80221fa4d7

View file

@ -15,8 +15,11 @@
dev_serve = pkgs.writeShellScriptBin "serve" ''
${pkgs.simple-http-server}/bin/simple-http-server -i $@
'';
homepage = pkgs.writeShellScriptBin "homepage" ''
${pkgs.simple-http-server}/bin/simple-http-server -i ${./static} $@
'';
in {
# ...
packages.default = homepage;
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
pkgs.vscode-langservers-extracted # html, css lsp