pneuma-pygame/Godot/shell.nix

34 lines
517 B
Nix
Raw Normal View History

2024-05-16 23:16:20 +00:00
with import <nixpkgs> {};
2024-05-18 13:32:29 +00:00
pkgs.mkShell rec {
dotnetPkg = (with dotnetCorePackages; combinePackages [
sdk_9_0
]);
NIX_LD_LIBRARY_PATH = lib.makeLibraryPath ([
2024-05-16 23:16:20 +00:00
stdenv.cc.cc
2024-05-18 13:32:29 +00:00
] ++ deps);
NIX_LD = "${pkgs.stdenv.cc.libc_bin}/bin/ld.so";
nativeBuildInputs = [] ++ deps;
2024-05-16 23:16:20 +00:00
shellHook = ''
export LD_LIBRARY_PATH=$NIX_LD_LIBRARY_PATH
2024-05-18 13:32:29 +00:00
DOTNET_ROOT="${dotnetPkg}"
2024-05-16 23:16:20 +00:00
'';
packages = [
dotnet-sdk
xorg.libX11
];
2024-05-18 13:32:29 +00:00
deps = [
zlib
zlib.dev
openssl
dotnetPkg
];
2024-05-16 23:16:20 +00:00
}