Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,16 @@ let
libxkbcommon
vulkan-loader
wayland
# X11 support for winit
xorg.libX11
xorg.libXcursor
xorg.libXrandr
xorg.libXi
];
in
pkgs.mkShell {
packages = with pkgs; [
rustup
# Used as a local build tool.
just

Expand All @@ -27,4 +33,8 @@ pkgs.mkShell {

# Otherwise `export-validator` produces an error trying to link `libstdc++`.
LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib:${libPath}";

# Ensure rustup uses a local dir, not ~/.rustup polluting your home
RUSTUP_HOME = toString ./.rustup;
CARGO_HOME = toString ./.cargo;
}