Some checks failed
Continuous Integration / build (double, map[arch:wasm32 os:ubuntu-22.04 platform:web], template_release) (push) Has been cancelled
Continuous Integration / build (double, map[arch:x86_64 os:ubuntu-22.04 platform:linux], template_debug) (push) Has been cancelled
Continuous Integration / build (single, map[arch:arm64 os:ubuntu-22.04 platform:android], template_debug) (push) Has been cancelled
Continuous Integration / build (single, map[arch:universal os:macos-latest platform:macos], template_debug) (push) Has been cancelled
Continuous Integration / build (single, map[arch:x86_64 os:windows-latest platform:windows], template_release) (push) Has been cancelled
26 lines
530 B
Nix
26 lines
530 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
};
|
|
|
|
outputs = inputs: {
|
|
|
|
devShells = builtins.mapAttrs (system: pkgs: {
|
|
default = (pkgs.mkShell.override { stdenv = pkgs.llvmPackages.stdenv; }) {
|
|
nativeBuildInputs = with pkgs; [
|
|
cmake
|
|
ninja
|
|
clang
|
|
python3
|
|
godot
|
|
];
|
|
|
|
shellHook = ''
|
|
export PS1="''${PS1//\\n/}"
|
|
export PS1="\[\033[1;31m\][gdvapi]\[\033[0m\] $PS1"
|
|
'';
|
|
};
|
|
}) inputs.nixpkgs.legacyPackages;
|
|
};
|
|
}
|