servo: 0-unstable-2025-03-05 -> 0-unstable-2025-03-18 (#390997)

This commit is contained in:
Martin Weinelt
2025-03-18 17:35:28 +01:00
committed by GitHub
+4 -11
View File
@@ -62,13 +62,13 @@ in
rustPlatform.buildRustPackage {
pname = "servo";
version = "0-unstable-2025-03-05";
version = "0-unstable-2025-03-18";
src = fetchFromGitHub {
owner = "servo";
repo = "servo";
rev = "69e749947910480e97ffaf22031316ebe7f67b9c";
hash = "sha256-p06547WijlfAUgMzbCyQUFx7Xq+eUI+iB6inQguzJ1c=";
rev = "8d39d7706aee50971e848a5e31fc6bfd7ef552c1";
hash = "sha256-PdkES7tvECVoJWa78t/K4ab+brqCLHY47c+TnDNQ3Ps=";
# Breaks reproducibility depending on whether the picked commit
# has other ref-names or not, which may change over time, i.e. with
# "ref-names: HEAD -> main" as long this commit is the branch HEAD
@@ -79,14 +79,7 @@ rustPlatform.buildRustPackage {
};
useFetchCargoVendor = true;
cargoHash = "sha256-znHKck88XXjl+v3iJFCjq0Cxyxh1HrtLbK9o3y8Kelw=";
postPatch = ''
# Remap absolute path between modules to include SEMVER
substituteInPlace ../servo-0-unstable-*-vendor/servo_atoms-0.0.1/build.rs --replace-fail \
"../style/counter_style/predefined.rs" \
"../style-0.0.1/counter_style/predefined.rs"
'';
cargoHash = "sha256-mxbRqJ+ex9k1h6wOgjPHWfG8RA0vVRBAqsHtwSRI12Y=";
# set `HOME` to a temp dir for write access
# Fix invalid option errors during linking (https://github.com/mozilla/nixpkgs-mozilla/commit/c72ff151a3e25f14182569679ed4cd22ef352328)