Created
May 4, 2024 20:05
-
-
Save Aeva/227e45b886500d315c0bd00af635d985 to your computer and use it in GitHub Desktop.
shell.nix for monogame
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> {} }: | |
# This seems sufficient enough to run a mgdesktopgl project with `dotent run`. | |
# I have not tested this beyond running a blank one without crashing. | |
pkgs.mkShell { | |
nativeBuildInputs = with pkgs; [ | |
dotnet-sdk_6 | |
]; | |
LD_LIBRARY_PATH="${pkgs.freetype}/lib/;${pkgs.libGL}/lib/;${pkgs.pulseaudio}/lib/;${pkgs.xorg.libX11}/lib;${pkgs.xorg.libXrandr}/lib/"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment