mirror of
https://github.com/cccb/servicepoint.git
synced 2025-01-18 18:10:14 +01:00
28 lines
515 B
Nix
28 lines
515 B
Nix
{pkgs ? import <nixpkgs> {}}: let
|
|
rust-toolchain = pkgs.symlinkJoin {
|
|
name = "rust-toolchain";
|
|
paths = with pkgs; [rustc cargo rustPlatform.rustcSrc rustfmt clippy];
|
|
};
|
|
in
|
|
pkgs.mkShell {
|
|
nativeBuildInputs = with pkgs.buildPackages; [
|
|
rust-toolchain
|
|
|
|
pkg-config
|
|
xe
|
|
lzma
|
|
|
|
cargo-tarpaulin
|
|
|
|
gcc
|
|
gnumake
|
|
|
|
# required for python bindings
|
|
iconv
|
|
|
|
# dotnet-sdk_8
|
|
];
|
|
|
|
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
|
|
}
|