Skip to content

Commit

Permalink
Fix shell.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinmehall committed Oct 21, 2023
1 parent ccffbba commit 25dc94f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ stdenv.mkDerivation rec {
env = buildEnv { name = name; paths = buildInputs; };
buildInputs = [
soapysdr-with-plugins
pkgconfig
pkg-config
llvm
cargo
];

# https://hoverbear.org/blog/rust-bindgen-in-nix/
LIBCLANG_PATH="${llvmPackages.libclang.lib}/lib";
BINDGEN_EXTRA_CLANG_ARGS="$(< ${stdenv.cc}/nix-support/libc-crt1-cflags) \
$(< ${stdenv.cc}/nix-support/libc-cflags) \
Expand Down

0 comments on commit 25dc94f

Please sign in to comment.