c-engine/shell.nix

19 lines
282 B
Nix

{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell
{
nativeBuildInputs = with pkgs; [
cmake
wgpu-native
cglm
sdl3
sdl3-image
nixgl.nixVulkanIntel
vulkan-headers
vulkan-loader
vulkan-tools
];
shellHook = ''
export PS1="(webgpu) $PS1"
'';
}