This commit is contained in:
Matthew Deville 2026-01-21 22:18:08 +01:00
parent 9788dcbd1b
commit 04054560d1

View file

@ -21,31 +21,31 @@
pkgs = import nixpkgs { inherit system overlays; };
stdenv = pkgs.stdenvAdapters.useMoldLinker pkgs.clangStdenv;
rustToolchain = pkgs.rust-bin.stable.latest.default;
nativeBuildInputs = with pkgs; [
rustToolchain
mold
pkg-config
clang
];
xorgBuildInputs = with pkgs; [
xorg.libX11
xorg.libXcursor
xorg.libXi
xorg.libXrandr
];
waylandBuildInputs = with pkgs; [
libxkbcommon
wayland
];
# Graphics/rendering libraries needed for wgpu (used by show-image)
graphicsBuildInputs = with pkgs; [
vulkan-loader
];
buildInputs = xorgBuildInputs ++ waylandBuildInputs ++ graphicsBuildInputs;
mkShell = pkgs.mkShell.override {