nix-godot-with-modules/flake.nix
2025-02-22 22:24:06 -05:00

22 lines
632 B
Nix

{
description = "A collection of godot";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { flake-utils, nixpkgs, ... }:
flake-utils.lib.eachDefaultSystem (
system: let
pkgs = nixpkgs.legacyPackages.${system};
in
{
packages = rec {
default = godot;
godot = godot_4;
godot_4 = pkgs.callPackage ./godot-withmodules.nix { godot = pkgs.godot_4; };
godot_4-mono = pkgs.callPackage ./godot-withmodules.nix { godot = pkgs.godot_4-mono; };
};
});
}