forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 5
/
shell.nix
46 lines (45 loc) · 924 Bytes
/
shell.nix
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
43
44
45
46
{ pkgs ? import <nixpkgs> {}, withX11 ? false }:
(pkgs.buildFHSUserEnv {
name = "vcpkg";
targetPkgs = pkgs: (with pkgs; [
autoconf
automake
cmake
gcc
gettext
glibc.dev
gperf
libtool
libxkbcommon.dev
m4
ninja
pkg-config
zip
zstd.dev
] ++ pkgs.lib.optionals withX11 [
freetds
libdrm.dev
libglvnd.dev
mesa_drivers
mesa_glu.dev
mesa.dev
xlibs.libxcb.dev
xlibs.xcbutilimage.dev
xlibs.xcbutilwm.dev
xlibs.xorgserver.dev
xorg.libpthreadstubs
xorg.libX11.dev
xorg.libxcb.dev
xorg.libXext.dev
xorg.libXi.dev
xorg.xcbproto
xorg.xcbutil.dev
xorg.xcbutilcursor.dev
xorg.xcbutilerrors
xorg.xcbutilkeysyms.dev
xorg.xcbutilrenderutil.dev
xorg.xcbutilwm.dev
xorg.xorgproto
]);
runScript = "bash";
}).env