diff --git a/flake.nix b/flake.nix index 0dd24b8..ec8b92e 100644 --- a/flake.nix +++ b/flake.nix @@ -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 {