Files
2026-07-08 15:41:53 +01:00

44 lines
826 B
Nix

{
description = "game";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }:
let
systems = [ "x86_64-linux" ];
forAllSystems = f:
nixpkgs.lib.genAttrs systems (system:
f (import nixpkgs {
inherit system;
}));
in {
devShells = forAllSystems (pkgs: {
default = pkgs.mkShell {
packages = with pkgs; [
clang-tools
clang
ccache
pkg-config
gnumake
ruby
xxd
bear
sdl3
sdl3-ttf
sdl3-image
];
shellHook = ''
export CC=clang
export CXX=clang++
export LD=clang
'';
};
});
};
}