blob: c70c2ebe8785254b01754258785f49cc851e92d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ pkgs ? import (import ./nix/sources.nix).nixpkgs { } }:
let inherit (pkgs) lib; in
pkgs.mkShell rec {
nativeBuildInputs = [
pkgs.cargo
pkgs.pkg-config
pkgs.rustc
pkgs.rustfmt
];
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;
}
|