aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorDustin Sallings <[email protected]>2024-02-17 09:41:04 -1000
committerGitHub <[email protected]>2024-02-17 09:41:04 -1000
commit3c4328b423ba54ec9484f9ec270a05e9a0bf4b35 (patch)
treea73337c374c98dc53736aabdf3c12314217433c2 /shell.nix
parente8d65dbd875bfdf9e11e99370e24b9ee35c2c101 (diff)
nix config (#17)
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..ed86dde
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,15 @@
+{ pkgs ? import <nixpkgs> { } }:
+with pkgs;
+mkShell {
+ buildInputs = [
+ go
+ gotools
+ esptool
+ protobuf
+ protoc-gen-go
+ ];
+
+ shellHook = ''
+ PATH=$PATH:$HOME/stuff/tinygo/bin
+ '';
+}