Files
faumaray 079cceb554 update
Signed-off-by: faumaray <faumaray@gmail.com>
2026-10-29 16:02:14 +03:00

19 lines
566 B
Nix

# Rust and C/C++ in one shell (FFI, cxx, bindgen, -sys crates built with CMake):
# everything from `cpp` and `rust`, compiled with the cpp shell's Clang. Also an
# example of composing shells: copy this file to combine others.
{
perSystem =
{ pkgs, ... }:
{
shells.rust-cpp = {
description = "rust + cpp on Clang, with bindgen's libclang";
extends = [
"cpp"
"rust"
];
# LIBCLANG_PATH and BINDGEN_EXTRA_CLANG_ARGS for bindgen.
packages = [ pkgs.rustPlatform.bindgenHook ];
};
};
}