summaryrefslogtreecommitdiff
path: root/shells/rust.nix
diff options
context:
space:
mode:
authorozpv <39195175+ozpv@users.noreply.github.com>2024-03-03 14:46:45 +0000
committerGitHub <noreply@github.com>2024-03-03 14:46:45 +0000
commit5c9694b0df330ed63cf5fa65393759505da667a4 (patch)
treedb37e7c1e66ccb4d13dfa83f00dfd7aec8f3b16d /shells/rust.nix
parentba07ecfded5c2ab3c7b7acd8cd432ea337d64e6c (diff)
add dev shell
Diffstat (limited to 'shells/rust.nix')
-rw-r--r--shells/rust.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/shells/rust.nix b/shells/rust.nix
new file mode 100644
index 0000000..f715813
--- /dev/null
+++ b/shells/rust.nix
@@ -0,0 +1,13 @@
+{ pkgs ? import <nixpkgs> {} }:
+
+pkgs.mkShell {
+ nativeBuildInputs = with pkgs; [
+ clang
+ llvmPackages.bintools
+ rustup
+ rustfmt
+ trunk
+ rustc-wasm32
+ dioxus-cli
+ ];
+}