diff options
author | Nikolay Korotkiy | 2024-05-01 15:59:31 +0400 |
---|---|---|
committer | Nikolay Korotkiy | 2024-05-01 15:59:31 +0400 |
commit | e02a4df2ba6590da2f11daf9ed9eff4c1cd9dc0a (patch) | |
tree | 10539a4ff4ded61039cd14700bf3d1f1817fa70c /pkgs | |
parent | 7917d334bb42d5e76245d0202a84c26427aa72fe (diff) |
surrealdb: 1.3.1 → 1.4.2
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/by-name/su/surrealdb/package.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/by-name/su/surrealdb/package.nix b/pkgs/by-name/su/surrealdb/package.nix index 79c859684449..625d9f802d54 100644 --- a/pkgs/by-name/su/surrealdb/package.nix +++ b/pkgs/by-name/su/surrealdb/package.nix @@ -16,16 +16,16 @@ let in rustPlatform.buildRustPackage rec { pname = "surrealdb"; - version = "1.3.1"; + version = "1.4.2"; src = fetchFromGitHub { owner = "surrealdb"; repo = "surrealdb"; rev = "v${version}"; - hash = "sha256-dnfgU7nTX3vvqN9Mox6USRfpFdEI/dAOKIVZ2Jd4t9o="; + hash = "sha256-LC/T+TkHdZ0uWaVQpR2Q9l0fShPL871rOfxxsXyJnvw="; }; - cargoHash = "sha256-B+x+xEcwHqoYMolAuMQzSiO/QA1FiBGO3eis9kgN1S4="; + cargoHash = "sha256-1/l++iXiPCIwAVE8VQCSS++/9i3Kh1RNq3WnUjRy2fU="; # error: linker `aarch64-linux-gnu-gcc` not found postPatch = '' @@ -38,6 +38,8 @@ rustPlatform.buildRustPackage rec { ROCKSDB_INCLUDE_DIR = "${rocksdb}/include"; ROCKSDB_LIB_DIR = "${rocksdb}/lib"; + RUSTFLAGS = "--cfg surrealdb_unstable"; + nativeBuildInputs = [ pkg-config rustPlatform.bindgenHook |