summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-11-18 17:28:55 -0500
committerFreya Murphy <freya@freyacat.org>2025-11-18 17:29:03 -0500
commit4929dff7398d86c1a9544a3d111be7e549608a22 (patch)
treeecae9b35cfec67c76864125741b98bdfe858a418 /flake.nix
parentReplaced rustup with custom toolchain using fenix (diff)
downloadDungeonCrawl-4929dff7398d86c1a9544a3d111be7e549608a22.tar.gz
DungeonCrawl-4929dff7398d86c1a9544a3d111be7e549608a22.tar.bz2
DungeonCrawl-4929dff7398d86c1a9544a3d111be7e549608a22.zip
nix: fix fenix flake and update lock
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;