From dbc21a53f87d8aa02c79b697aacb9bb7f3e14af8 Mon Sep 17 00:00:00 2001 From: servostar Date: Mon, 13 Nov 2023 14:56:17 +0100 Subject: [PATCH] added nix shell for godot mono 4.x --- godot-mono/README.md | 3 +++ godot-mono/default.nix | 26 ++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 godot-mono/README.md create mode 100644 godot-mono/default.nix diff --git a/godot-mono/README.md b/godot-mono/README.md new file mode 100644 index 0000000..8c0caaa --- /dev/null +++ b/godot-mono/README.md @@ -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. diff --git a/godot-mono/default.nix b/godot-mono/default.nix new file mode 100644 index 0000000..d98315f --- /dev/null +++ b/godot-mono/default.nix @@ -0,0 +1,26 @@ +{ pkgs ? import {} }: +(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 +