-
-
Notifications
You must be signed in to change notification settings - Fork 320
Expand file tree
/
Copy pathshell.nix
More file actions
40 lines (36 loc) · 624 Bytes
/
shell.nix
File metadata and controls
40 lines (36 loc) · 624 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
32
33
34
35
36
37
38
39
40
{
pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/14e02be4774fdb74b2d81ab2beb7a15b1e6eda07.tar.gz") { },
}:
let
libs =
with pkgs;
[
SDL2
pkg-config
openal
alsa-lib
libvlc
libpulseaudio
libGL
]
++ (with xorg; [
libX11
libXext
libXinerama
libXi
libXrandr
]);
in
pkgs.mkShell {
name = "CodenameEngine";
packages = with pkgs; [
haxe
neko
kdePackages.qttools
];
buildInputs = libs;
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath libs;
shellHook = ''
./building/setup-unix.sh
'';
}