Verified Commit 22c5d4b6 authored by Kloenk's avatar Kloenk
Browse files

fix shell.nix

fix missing ';' and fix stdint.h and stddef.h header search path as
environment variable
parent efc5ae56
......@@ -13,8 +13,9 @@ stdenv.mkDerivation {
openocd
];
LIBCLANG_PATH="${llvmPackages.libclang}/lib"
LIBCLANG_PATH="${llvmPackages.libclang}/lib";
shellHook = ''
export CPATH="${glibc_multi.dev}/include:${stdenv.cc.cc}/lib/gcc/$(cc -dumpmachine)/${lib.getVersion pkgsCross.arm-embedded.stdenv.cc.cc}/include"
echo "Run 'cargo build --release'"
'';
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment