added nix shell for godot mono 4.x

This commit is contained in:
Sven Vogel 2023-11-13 14:56:17 +01:00
parent 9b69d52167
commit dbc21a53f8
2 changed files with 29 additions and 0 deletions

3
godot-mono/README.md Normal file
View File

@ -0,0 +1,3 @@
# Godot Mono
This nix shells builds a shell in which build of Godot engine can be run. Target godot versions are mono 4.x.
In order to run godot, download the binary from their site, open the nix shell, then run godot.

26
godot-mono/default.nix Normal file
View File

@ -0,0 +1,26 @@
{ pkgs ? import <nixpkgs> {} }:
(pkgs.buildFHSEnv {
name = "environment to run mono godot";
targetPkgs = pkgs: (with pkgs; [
mono6
xorg.libX11
xorg.libXcursor
xorg.libXrandr
fontconfig
dbus
libxkbcommon
xorg.libXext
xorg.libXinerama
xorg.libXi
libGL
vulkan-loader
libpulseaudio
dotnet-sdk
]);
multiPkgs = pkgs: (with pkgs; [
udev
alsa-lib
]);
runScript = "bash";
}).env