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,16 +40,19 @@
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
clang
lld
# If on x11 # If on x11
xorg.libX11 xorg.libX11
xorg.libX11
xorg.libXcursor xorg.libXcursor
xorg.libXi xorg.libXi
xorg.libXrandr xorg.libXrandr
@ -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
]}"
''; '';
}; };
}); });