remove llvmPackages

This commit is contained in:
Mike Heier 2023-08-12 12:05:44 -04:00
parent 7b92bc20c4
commit dcb247b58c

View File

@ -1,4 +1,4 @@
{ pkgs ? import <nixpkgs> { }, lib, llvmPackages }:
{ pkgs ? import <nixpkgs> { }, lib }:
let
productVersion = "0.4.1";
@ -13,7 +13,7 @@ pkgs.rustPlatform.buildRustPackage {
cargoSha256 = "sha256-d84QNj9SIRUwtlsa9sdYKuYf0oCptdGm7pDs3eGTcBg=";
preConfigure = ''
export LIBCLANG_PATH="${llvmPackages.libclang.lib}/lib";
export LIBCLANG_PATH="${pkgs.llvmPackages.libclang.lib}/lib";
'';
nativeBuildInputs = with pkgs; [ cargo clang cmake ];
}