servo: 0-unstable-2025-02-27 -> 0-unstable-2025-03-01

Resolves a reprodubility issue on the source tarball caused by git
archival not being reproducible, e.g. when a commit has an additional ref
like "HEAD -> main" or not.

Fixes: #386088
This commit is contained in:
Martin Weinelt
2025-03-01 18:46:59 +01:00
parent e9b0ff70dd
commit 11c0e89e91
+11 -4
View File
@@ -62,17 +62,24 @@ in
rustPlatform.buildRustPackage {
pname = "servo";
version = "0-unstable-2025-02-27";
version = "0-unstable-2025-03-01";
src = fetchFromGitHub {
owner = "servo";
repo = "servo";
rev = "0065e63190dba501d23c16759a2a1ea1e8f15cd8";
hash = "sha256-5VvKGNBJ+1bWW9XcXk0DU0owBmdkTpX8voAVO4QMdrQ=";
rev = "ce977636f63c2cded3c2d26cce548efbb91312b2";
hash = "sha256-m+VWSuxXRdY2Pqs7akmtpzrGmFLCY/5WSD/5cQU8RU4=";
# 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
# and "ref-names:" when it is not anymore.
postFetch = ''
rm $out/tests/wpt/tests/tools/third_party/attrs/.git_archival.txt
'';
};
useFetchCargoVendor = true;
cargoHash = "sha256-mfOzlqRAVR7O7uWn27pwccXp+WRl5BEO3l0KEyzjmUc=";
cargoHash = "sha256-O7M1NJRaUPyh1+i8Ab2vvCwHMLBSMfwgEkfFCuIA9TA=";
postPatch = ''
# Remap absolute path between modules to include SEMVER