main
Johannes Hendrik Gerard van der Weide 2023-11-21 12:24:38 +01:00
parent b3b4e0f18a
commit c929e27241
1 changed files with 12 additions and 6 deletions

View File

@ -40,15 +40,18 @@
default = pkgs.mkShell { default = pkgs.mkShell {
# The Nix packages provided in the environment # The Nix packages provided in the environment
packages = (with pkgs; [ packages = (with pkgs; [
# Fluff
onefetch
cargo-mommy
# Bevy # Bevy
pkg-config pkg-config
alsa-lib alsa-lib
vulkan-tools
vulkan-headers
vulkan-loader vulkan-loader
vulkan-validation-layers
udev udev
# If on x11 clang
lld
# If on x11
xorg.libX11
xorg.libX11 xorg.libX11
xorg.libXcursor xorg.libXcursor
xorg.libXi xorg.libXi
@ -60,8 +63,11 @@
rustToolchain rustToolchain
]) ++ pkgs.lib.optionals pkgs.stdenv.isDarwin (with pkgs; [ libiconv ]); ]) ++ pkgs.lib.optionals pkgs.stdenv.isDarwin (with pkgs; [ libiconv ]);
shellHook = '' shellHook = ''
onefetch export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${pkgs.lib.makeLibraryPath [
echo "Welcome to nix-hell uh nix-shell" pkgs.alsaLib
pkgs.udev
pkgs.vulkan-loader
]}"
''; '';
}; };
}); });