forked from mirror/codesnap.nvim
shell.nix
This commit is contained in:
parent
a25e6ae626
commit
9439b2c710
1 changed files with 17 additions and 0 deletions
17
shell.nix
Normal file
17
shell.nix
Normal 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
|
||||
'';
|
||||
}
|
Loading…
Reference in a new issue