Signed-off-by: faumaray <faumaray@gmail.com>
This commit is contained in:
faumaray committed 2026-10-29 16:02:14 +03:00
1 parent 80ec3dfdd3
commit 079cceb554
57 files changed
+4092 -538

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
# 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 ];
};
};
}