GodotNixDevelopmentEnviroment/nix/shell.nix

22 lines
474 B
Nix
Raw Permalink Normal View History

{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
# The Nix packages provided in the environment
packages = (with pkgs; [
# Fluff
cargo-mommy
onefetch
# Tools
helix
lazygit
# Needed
nixgl.nixVulkanIntel
godot_4 # For now it recommended to install godot locally thought we might add NixGL in the future
rustToolchain
]) ++ pkgs.lib.optionals pkgs.stdenv.isDarwin (with pkgs; [ libiconv ]);
shellHook = ''
onefetch
'';
}