forked from korejan/ALVR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshell.nix
44 lines (42 loc) · 1.07 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
{ pkgs ? import <nixpkgs> { } }:
with pkgs;
mkShell {
stdenv = pkgs.clangStdenv;
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [
binutils-unwrapped
alsaLib
openssl
glib
(ffmpeg-full.override { nonfreeLicensing = true; samba = null; })
cairo
pango
atk
gdk-pixbuf
gtk3
clang
(pkgs.vulkan-tools-lunarg.overrideAttrs (oldAttrs: rec {
patches = [
(fetchurl {
url =
"https://gist.githubusercontent.com/ckiee/038809f55f658595107b2da41acff298/raw/6d8d0a91bfd335a25e88cc76eec5c22bf1ece611/vulkantools-log.patch";
sha256 = "14gji272r53pykaadkh6rswlzwhh9iqsy1y4q0gdp8ai4ycqd129";
})
];
}))
vulkan-headers
vulkan-loader
vulkan-validation-layers
xorg.libX11
xorg.libXrandr
libunwind
python3 # for the xcb crate
libxkbcommon
jack2
];
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
RUST_ANDROID_GRADLE_PYTHON_COMMAND = "${pkgs.python3Minimal}/bin/python3";
shellHook = ''
export PATH=$(pwd)/alvr/client/android:$PATH
'';
}