emacsPackages.irony: respect old nativeBuildInputs and buildInputs

This commit is contained in:
Lin Jian 2024-08-18 05:17:49 +08:00
parent dda19805c2
commit 3eea10fdb7
No known key found for this signature in database
GPG Key ID: A6698D36434F75A5

View File

@ -322,8 +322,8 @@ let
dontUseCmakeBuildDir = true;
doCheck = pkgs.stdenv.isLinux;
packageRequires = [ self.emacs ];
buildInputs = [ pkgs.llvmPackages.libclang self.emacs ];
nativeBuildInputs = [ pkgs.cmake pkgs.llvmPackages.llvm ];
buildInputs = old.buildInputs ++ [ pkgs.llvmPackages.libclang self.emacs ];
nativeBuildInputs = old.nativeBuildInputs ++ [ pkgs.cmake pkgs.llvmPackages.llvm ];
});
# tries to write a log file to $HOME