This repository has been archived on 2025-06-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
graphics/shell.nix
T
2025-02-19 23:08:31 +03:00

22 lines
363 B
Nix

{ pkgs ? import <nixpkgs> {} }:
with pkgs; mkShell rec {
buildInputs = [
cargo
rustc
rust-analyzer
pkg-config
openimageio
wayland
libGL
libxkbcommon
egl-wayland
vulkan-loader
];
shellHook = ''
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${lib.makeLibraryPath (buildInputs) }
'';
WINIT_UNIX_BACKEND="wayland";
}