supertag: fix build caused by outdated lexical-core

This commit is contained in:
figsoda 2021-09-24 20:58:32 -04:00
parent e77de1ec57
commit aec2482639
2 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,27 @@
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1,5 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
+version = 3
+
[[package]]
name = "adler32"
version = "1.2.0"
@@ -530,13 +532,13 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
[[package]]
name = "lexical-core"
-version = "0.7.4"
+version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db65c6da02e61f55dae90a0ae427b2a5f6b3e8db09f58d10efab23af92592616"
+checksum = "6607c62aa161d23d17a9072cc5da0be67cdfc89d3afb1e8d9c842bebc2525ffe"
dependencies = [
"arrayvec",
"bitflags 1.2.1",
- "cfg-if 0.1.10",
+ "cfg-if 1.0.0",
"ryu",
"static_assertions",
]

View File

@ -14,7 +14,11 @@ rustPlatform.buildRustPackage rec {
sha256 = "0jzm7pn38hlr96n0z8gqfsfdbw48y0nnbsgjdq7hpgwmcgvgqdam";
};
cargoSha256 = "093vrpp4in8854hb0h1lxrp8v6i9vfja0l69dnnp7z15qkpbir4f";
# lexical-core is outdated and incompatible with newer versions of rust
# patches Cargo.lock to include a more up-to-date version of lexical-core
cargoPatches = [ ./cargo-lock-update-lexical-core.patch ];
cargoSha256 = "sha256-W5Emkbe1jI9Z+irMckD/3gJO47rACa9E5k5dqAFC1yQ=";
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";