Compare commits

...

1 commit

Author SHA1 Message Date
9439b2c710 shell.nix 2024-09-22 21:25:06 -07:00

17
shell.nix Normal file
View file

@ -0,0 +1,17 @@
{ pkgs ? import <nixpkgs> { }, additionalBuildInputs ? [ ] }:
with pkgs;
mkShell rec {
nativeBuildInputs = [
libclang
glibc
gcc
libuv
];
buildInputs = additionalBuildInputs ++ nativeBuildInputs;
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
shellHook = ''
export LIBCLANG_PATH=${llvmPackages.libclang.lib}/lib
'';
}