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