mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
innernet: migrate to bindgenHook
This commit is contained in:
parent
c9bcecf0ab
commit
86cd1b3f6f
@ -2,7 +2,6 @@
|
||||
, stdenv
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, llvmPackages
|
||||
, sqlite
|
||||
, installShellFiles
|
||||
, Security
|
||||
@ -23,15 +22,12 @@ rustPlatform.buildRustPackage rec {
|
||||
};
|
||||
cargoSha256 = "sha256-qQ6yRI0rNxV/TRZHCR69h6kx6L2Wp75ziw+B2P8LZmE=";
|
||||
|
||||
nativeBuildInputs = with llvmPackages; [
|
||||
llvm
|
||||
clang
|
||||
nativeBuildInputs = [
|
||||
rustPlatform.bindgenHook
|
||||
installShellFiles
|
||||
];
|
||||
buildInputs = [ sqlite ] ++ lib.optionals stdenv.isDarwin [ Security libiconv ];
|
||||
|
||||
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
|
||||
|
||||
postInstall = ''
|
||||
installManPage doc/innernet-server.8.gz
|
||||
installManPage doc/innernet.8.gz
|
||||
|
Loading…
Reference in New Issue
Block a user