summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.envrc1
-rw-r--r--Makefile2
-rw-r--r--shell.nix11
3 files changed, 14 insertions, 0 deletions
diff --git a/.envrc b/.envrc
new file mode 100644
index 0000000..1d953f4
--- /dev/null
+++ b/.envrc
@@ -0,0 +1 @@
+use nix
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..1549931
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,2 @@
+serve:
+ python -m http.server
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..8863b3e
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,11 @@
+{ pkgs ? import <nixpkgs> {} }:
+
+pkgs.mkShellNoCC {
+ packages = with pkgs; [
+ gnumake
+ python3
+ typescript-language-server
+ ];
+
+ TMPDIR = "/tmp"; # lsp needs it
+}