summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/flake.nix b/flake.nix
index df43f3c..9670a0c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -36,14 +36,16 @@
xorg.libXinerama
xorg.libXcursor
xorg.libXi
+ xorg.libX11
libxkbcommon
SDL2
];
fenixLib = fenix.packages.${system};
- rustToolchain = with fenixLib; combine [
- stable.toolchain
- targets.wasm32-unknown-emscripten.stable.toolchain
- ];
+ rustToolchain = with fenixLib;
+ combine [
+ stable.toolchain
+ targets.wasm32-unknown-emscripten.stable.toolchain
+ ];
in {
devShell =
pkgs.mkShell
@@ -51,7 +53,7 @@
packages = with pkgs;
[
# rust
- # rustup
+ rustToolchain
# web
emscripten
python3
@@ -60,7 +62,6 @@
clang
glfw
pkg-config
- rustToolchain
]
++ libs;