fixed issues with clang path on nix
This commit is contained in:
parent
b1d7569150
commit
09ac7b59c9
2 changed files with 5 additions and 9 deletions
|
|
@ -7,6 +7,8 @@ pkgs.rustPlatform.buildRustPackage rec {
|
|||
src = pkgs.lib.cleanSource ../.;
|
||||
buildInputs = with pkgs; [
|
||||
surrealdb
|
||||
clang
|
||||
];
|
||||
# doCheck = false;
|
||||
}
|
||||
LIBCLANG_PATH="${pkgs.llvmPackages.libclang.lib}/lib";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,4 @@
|
|||
{ pkgs ? import <nixpkgs> { } }:
|
||||
let
|
||||
runtimeLibs = [
|
||||
pkgs.libclang
|
||||
pkgs.rocksdb
|
||||
];
|
||||
in
|
||||
pkgs.mkShell {
|
||||
# Get dependencies from the main package
|
||||
inputsFrom = [ (pkgs.callPackage ./default.nix { }) ];
|
||||
|
|
@ -20,7 +14,7 @@ in
|
|||
bacon
|
||||
nodePackages_latest.pnpm
|
||||
surrealdb
|
||||
libclang
|
||||
clang
|
||||
];
|
||||
LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath runtimeLibs}";
|
||||
LIBCLANG_PATH="${pkgs.llvmPackages.libclang.lib}/lib";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue