blob: 8511dcca986d29bfb3969dbd0d598aad21ef9b7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
let
pkgs = import <nixpkgs> {};
in
pkgs.mkShell rec {
name = "rustc";
buildInputs = with pkgs; [
rustup
pkg-config
alsaLib
libGL
xorg.libX11
xorg.libXi
python39
];
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath buildInputs}";
}
|