2021-02-03 12:20:35 -07:00
|
|
|
{ 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
|
2024-11-14 04:07:12 -07:00
|
|
|
pkg-config
|
2021-02-03 12:20:35 -07:00
|
|
|
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
|