-
-
Notifications
You must be signed in to change notification settings - Fork 311
Expand file tree
/
Copy pathshell.nix
More file actions
42 lines (37 loc) · 642 Bytes
/
shell.nix
File metadata and controls
42 lines (37 loc) · 642 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
41
42
{ }:
let
pkgs = import (builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/c407032be28ca2236f45c49cfb2b8b3885294f7f.tar.gz";
}) { };
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
libsForQt5.qttools
];
buildInputs = libs;
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath libs;
shellHook = ''
source update.sh
'';
}