forked from StationWare/stationware
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshell.nix
More file actions
31 lines (30 loc) · 664 Bytes
/
shell.nix
File metadata and controls
31 lines (30 loc) · 664 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ pkgs ? import <nixpkgs> {} }:
let
dependencies = with pkgs; [
dotnetCorePackages.sdk_7_0
glfw
SDL2
libGL
openal
freetype
fluidsynth
soundfont-fluid
gtk3
pango
cairo
atk
zlib
glib
gdk-pixbuf
];
in pkgs.mkShell {
name = "space-station-14-devshell";
buildInputs = [ pkgs.gtk3 ];
packages = dependencies;
shellHook = ''
export GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1
export ROBUST_SOUNDFONT_OVERRIDE=${pkgs.soundfont-fluid}/share/soundfonts/FluidR3_GM2-2.sf2
export XDG_DATA_DIRS=$GSETTINGS_SCHEMAS_PATH
export LD_LIBRARY_PATH=${pkgs.lib.makeLibraryPath dependencies}
'';
}