-
-
Notifications
You must be signed in to change notification settings - Fork 150
Expand file tree
/
Copy pathshell.nix
More file actions
37 lines (37 loc) · 562 Bytes
/
shell.nix
File metadata and controls
37 lines (37 loc) · 562 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
with import <nixpkgs> {};
let
libs = lib.makeLibraryPath [
stdenv.cc.cc
glibc
glib
gtk3
pango
cairo
xorg.libX11
xorg.libXcomposite
xorg.libXdamage
xorg.libXext
xorg.libXfixes
xorg.libXrandr
alsa-lib
nss
nspr
dbus
atk
cups
libdrm
gdk-pixbuf
expat
xorg.libxcb
libxkbcommon
at-spi2-core
mesa
libglvnd
libgbm
];
in
mkShell {
NIX_LD_LIBRARY_PATH = libs;
NIX_LD = lib.fileContents "${stdenv.cc}/nix-support/dynamic-linker";
LD_LIBRARY_PATH = libs;
}