mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-23 05:35:50 +02:00
Merge pull request #201048 from dit7ya/qdrant-fix
qdrant: 0.9.1 -> 0.11.2
This commit is contained in:
commit
78bac046b5
|
@ -7,16 +7,22 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "qdrant";
|
pname = "qdrant";
|
||||||
version = "0.9.1";
|
version = "0.11.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "qdrant";
|
owner = "qdrant";
|
||||||
repo = "qdrant";
|
repo = "qdrant";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "sha256-rOIWiSpAqIUf2V9BMMTZqF/urz754pZV4yHav26dxqY=";
|
sha256 = "sha256-MT2k4k/g97iXVUCz1dYJdL+JBCLKTWqE2u2Yiuvd/nw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-ovHxtOYlzVsALw/4bhL9EcFXaKr6Bg/D0w6OPMCLZoQ=";
|
cargoSha256 = "sha256-86F7B+SKaAxu7c3kyYurI5jPnnbvtdD0jouNCzT0A50=";
|
||||||
|
|
||||||
|
prePatch = lib.optionalString stdenv.isAarch64 ''
|
||||||
|
substituteInPlace .cargo/config.toml \
|
||||||
|
--replace "[target.aarch64-unknown-linux-gnu]" "" \
|
||||||
|
--replace "linker = \"aarch64-linux-gnu-gcc\"" ""
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ protobuf rustPlatform.bindgenHook ];
|
nativeBuildInputs = [ protobuf rustPlatform.bindgenHook ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue