Loading pkgs/servers/search/qdrant/default.nix +12 −4 Original line number Diff line number Diff line Loading @@ -3,20 +3,23 @@ , fetchFromGitHub , protobuf , stdenv , pkg-config , openssl , Security }: rustPlatform.buildRustPackage rec { pname = "qdrant"; version = "0.11.2"; version = "1.0.2"; src = fetchFromGitHub { owner = "qdrant"; repo = "qdrant"; rev = "refs/tags/v${version}"; sha256 = "sha256-MT2k4k/g97iXVUCz1dYJdL+JBCLKTWqE2u2Yiuvd/nw="; sha256 = "sha256-AVglZr3J9fEWgE2g5UHt1j6YQud/viGp0IvuR9XRntE="; }; cargoSha256 = "sha256-86F7B+SKaAxu7c3kyYurI5jPnnbvtdD0jouNCzT0A50="; cargoSha256 = "sha256-4hzixh1/nVIMRsBSoldmbtpcpBMmvxik3lV/h4FPOrk="; prePatch = lib.optionalString stdenv.isAarch64 '' substituteInPlace .cargo/config.toml \ Loading @@ -24,7 +27,12 @@ rustPlatform.buildRustPackage rec { --replace "linker = \"aarch64-linux-gnu-gcc\"" "" ''; nativeBuildInputs = [ protobuf rustPlatform.bindgenHook ]; # Needed to get openssl-sys to use pkg-config. OPENSSL_NO_VENDOR = 1; buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; nativeBuildInputs = [ protobuf rustPlatform.bindgenHook pkg-config ]; NIX_CFLAGS_COMPILE = lib.optional stdenv.isDarwin "-faligned-allocation"; Loading pkgs/top-level/all-packages.nix +3 −1 Original line number Diff line number Diff line Loading @@ -11311,7 +11311,9 @@ with pkgs; qarte = libsForQt5.callPackage ../applications/video/qarte { }; qdrant = darwin.apple_sdk_11_0.callPackage ../servers/search/qdrant { }; qdrant = darwin.apple_sdk_11_0.callPackage ../servers/search/qdrant { inherit (darwin.apple_sdk_11_0.frameworks) Security; }; qlcplus = libsForQt5.callPackage ../applications/misc/qlcplus { }; Loading
pkgs/servers/search/qdrant/default.nix +12 −4 Original line number Diff line number Diff line Loading @@ -3,20 +3,23 @@ , fetchFromGitHub , protobuf , stdenv , pkg-config , openssl , Security }: rustPlatform.buildRustPackage rec { pname = "qdrant"; version = "0.11.2"; version = "1.0.2"; src = fetchFromGitHub { owner = "qdrant"; repo = "qdrant"; rev = "refs/tags/v${version}"; sha256 = "sha256-MT2k4k/g97iXVUCz1dYJdL+JBCLKTWqE2u2Yiuvd/nw="; sha256 = "sha256-AVglZr3J9fEWgE2g5UHt1j6YQud/viGp0IvuR9XRntE="; }; cargoSha256 = "sha256-86F7B+SKaAxu7c3kyYurI5jPnnbvtdD0jouNCzT0A50="; cargoSha256 = "sha256-4hzixh1/nVIMRsBSoldmbtpcpBMmvxik3lV/h4FPOrk="; prePatch = lib.optionalString stdenv.isAarch64 '' substituteInPlace .cargo/config.toml \ Loading @@ -24,7 +27,12 @@ rustPlatform.buildRustPackage rec { --replace "linker = \"aarch64-linux-gnu-gcc\"" "" ''; nativeBuildInputs = [ protobuf rustPlatform.bindgenHook ]; # Needed to get openssl-sys to use pkg-config. OPENSSL_NO_VENDOR = 1; buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; nativeBuildInputs = [ protobuf rustPlatform.bindgenHook pkg-config ]; NIX_CFLAGS_COMPILE = lib.optional stdenv.isDarwin "-faligned-allocation"; Loading
pkgs/top-level/all-packages.nix +3 −1 Original line number Diff line number Diff line Loading @@ -11311,7 +11311,9 @@ with pkgs; qarte = libsForQt5.callPackage ../applications/video/qarte { }; qdrant = darwin.apple_sdk_11_0.callPackage ../servers/search/qdrant { }; qdrant = darwin.apple_sdk_11_0.callPackage ../servers/search/qdrant { inherit (darwin.apple_sdk_11_0.frameworks) Security; }; qlcplus = libsForQt5.callPackage ../applications/misc/qlcplus { };