diff --git a/pkgs/by-name/se/servo/package.nix b/pkgs/by-name/se/servo/package.nix index 964327bff313..de06d0c2ae7e 100644 --- a/pkgs/by-name/se/servo/package.nix +++ b/pkgs/by-name/se/servo/package.nix @@ -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