From 6ef60f9cc291714b4fc0988c080734fa044fa91f Mon Sep 17 00:00:00 2001 From: Niklas Korz Date: Sat, 15 Nov 2025 21:45:45 +0100 Subject: [PATCH] servo: 0.0.1-unstable-2025-11-12 -> 0.0.2 https://github.com/servo/servo/releases/tag/v0.0.2 --- pkgs/by-name/se/servo/package.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/se/servo/package.nix b/pkgs/by-name/se/servo/package.nix index fa44247c99fa..6f0119bd67e5 100644 --- a/pkgs/by-name/se/servo/package.nix +++ b/pkgs/by-name/se/servo/package.nix @@ -63,15 +63,15 @@ let ); in -rustPlatform.buildRustPackage { +rustPlatform.buildRustPackage (finalAttrs: { pname = "servo"; - version = "0.0.1-unstable-2025-11-12"; + version = "0.0.2"; src = fetchFromGitHub { owner = "servo"; repo = "servo"; - rev = "59526928afc81c840f9890eb0a653b16e8128ba6"; - hash = "sha256-BidSQ/c4dST5qJLHZX5Sbcnw7JxfQl/mlI2F6qg0fxw="; + tag = "v${finalAttrs.version}"; + hash = "sha256-mhZaAyLznchFUd9f2HqD7th3RDO2inH6U3L5PcZLPFA="; # 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 @@ -81,7 +81,7 @@ rustPlatform.buildRustPackage { ''; }; - cargoHash = "sha256-qVpQ/LK8aAy2MrcuY4Hr3cv6+xh/vtxQZfN8Et3yPik="; + cargoHash = "sha256-jrspfHjJgNAzuCtFqOE7dwgMN02NwVkCOisYAOE8CrU="; # set `HOME` to a temp dir for write access # Fix invalid option errors during linking (https://github.com/mozilla/nixpkgs-mozilla/commit/c72ff151a3e25f14182569679ed4cd22ef352328) @@ -160,7 +160,7 @@ rustPlatform.buildRustPackage { ''; passthru = { - updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; }; + updateScript = nix-update-script { }; tests = { inherit (nixosTests) servo; }; }; @@ -178,4 +178,4 @@ rustPlatform.buildRustPackage { mainProgram = "servo"; platforms = lib.platforms.linux ++ lib.platforms.darwin; }; -} +})