-
Notifications
You must be signed in to change notification settings - Fork 2
/
shell.nix
56 lines (54 loc) · 1.04 KB
/
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
47
48
49
50
51
52
53
54
55
56
{ pkgs ? import <nixpkgs> {} }:
(pkgs.buildFHSUserEnv {
name = "swift-toolbox";
targetPkgs = pkgs: (with pkgs;
[ imagemagick
libxcrypt-legacy
glib
capnproto
openssl.dev
pkg-config
cmake
clang
libglvnd
libxkbcommon
nss
nspr
wayland
fontconfig
freetype
expat
alsa-lib
dbus
libkrb5
zlib.dev
gdb
]) ++ (with pkgs.xorg;
[ libX11
libXcursor
libXrandr
libxkbfile
libXcomposite
libXdamage
libXext
libXfixes
libXrender
libXtst
libxcb
xcbutilkeysyms
xcbutilimage
xcbutilwm
xcbutilrenderutil
libXi
libxshmfence
]);
profile = ''
unset QT_QPA_PLATFORMTHEME
unset QT_STYLE_OVERRIDE
unset QTWEBKIT_PLUGIN_PATH
unset QT_PLUGIN_PATH
export PKG_CONFIG_PATH="${pkgs.openssl.dev}/lib/pkgconfig:${pkgs.zlib.dev}/lib/pkgconfig"
export LIBCLANG_PATH="${pkgs.llvmPackages_11.libclang.lib}/lib"
'';
runScript = "bash";
}).env