blob: 5214dde1304e213e2ba47b10e93025cd2a87c80b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ pkgs ? import (import ./nix/sources.nix).nixpkgs { } }:
let inherit (pkgs) lib; in
pkgs.mkShell rec {
nativeBuildInputs = [
pkgs.cargo
pkgs.pkg-config
pkgs.rustc
];
buildInputs = [
pkgs.alsa-lib
pkgs.libxkbcommon
pkgs.udev
pkgs.vulkan-loader
pkgs.wayland
pkgs.xorg.libX11
pkgs.xorg.libXcursor
pkgs.xorg.libXi
pkgs.xorg.libXrandr
];
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
}
|