sqld: remove Cargo.lock and fix build
This commit is contained in:
Generated
-7655
File diff suppressed because it is too large
Load Diff
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
pkg-config,
|
||||
protobuf,
|
||||
openssl,
|
||||
@@ -23,20 +24,23 @@ rustPlatform.buildRustPackage rec {
|
||||
hash = "sha256-/0Sk55GBjUk/FeIoq/hGVaNGB0EM8CxygAXZ+ufvWKg=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/tursodatabase/libsql/pull/1981
|
||||
# A CMakeLists.txt broke builds by forcing the '-msse4.2' and '-maes' x86-specific compile flags,
|
||||
# when compiling with Clang, regardless of the host platform's architecture.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/tursodatabase/libsql/commit/5ce88e8cf9476ea64453bf1532d75c8faf037aad.patch";
|
||||
hash = "sha256-5M6XNp0EpCZMZb7NC7TBGBVdZLkC74vwqEnVTCZ7n5U=";
|
||||
})
|
||||
];
|
||||
|
||||
cargoBuildFlags = [
|
||||
"--bin"
|
||||
"sqld"
|
||||
];
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"console-api-0.5.0" = "sha256-MfaxtzOqyblk6aTMqJGRP+123aK0Kq7ODNp/3lehkpQ=";
|
||||
"hyper-rustls-0.24.1" = "sha256-dYN42bnbY+4+etmimrnoyzmrKvCZ05fYr1qLQFvzRTk=";
|
||||
"rheaper-0.2.0" = "sha256-u5z6J1nmUbIQjDDqqdkT0axNBOvwbFBYghYW/r1rDHc=";
|
||||
"s3s-0.10.1-dev" = "sha256-y4DZnRsQzRNsCIp6vrppZkfXSP50LCHWYrKRoIHYPik=";
|
||||
};
|
||||
};
|
||||
cargoHash = "sha256-hjU1Sbs68qX+Vv01Lku063OT1Sp7EMVxLyUkzcriRc0=";
|
||||
useFetchCargoVendor = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
|
||||
Reference in New Issue
Block a user