Fix Nix derivation so it works in a Darwin Nix environment (explicitly requiring clang and setting env variable) (#84)
This commit is contained in:
parent
55aece674b
commit
dfe17696e6
|
@ -19,5 +19,10 @@ pkgs.mkShell {
|
||||||
pkg-config
|
pkg-config
|
||||||
rust-bin.stable."1.67.0".default
|
rust-bin.stable."1.67.0".default
|
||||||
go_1_19 # 1.19.5
|
go_1_19 # 1.19.5
|
||||||
|
clang_14
|
||||||
|
llvmPackages_14.libclang
|
||||||
];
|
];
|
||||||
|
shellHook = ''
|
||||||
|
export LIBCLANG_PATH="${pkgs.llvmPackages_14.libclang.lib}/lib";
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue