terminusdb: fix fetchCargoVendor path

#387337 changed the directory layout of `cargoDeps` such that the
vendored dependencies are split by dependency source
(e.g., `source-git-0`, `source-git-1`, `source-registry-0`).
This commit is contained in:
Tom Hunze
2026-03-24 14:06:45 +01:00
parent 0a4319250d
commit a49dd3c60d
+1 -1
View File
@@ -97,7 +97,7 @@ stdenv.mkDerivation (finalAttrs: {
# Fix MAKEFLAGS order in vendored tikv-jemalloc-sys
# TODO: remove when tikv-jemalloc-sys 0.6.2+ is released
# equivalent to https://github.com/tikv/jemallocator/pull/152
substituteInPlace $cargoDepsCopy/tikv-jemalloc-sys-*/build.rs \
substituteInPlace $cargoDepsCopy/*/tikv-jemalloc-sys-*/build.rs \
--replace-fail 'format!("{orig_makeflags} {makeflags}")' \
'format!("{makeflags} {orig_makeflags}")'
'';