mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-14 08:10:56 +00:00
19 lines
340 B
Nix
19 lines
340 B
Nix
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}";
|
|
}
|
|
|