From 72f9a5a94dbaf7108b883c798b577b8966462b4a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 13 Apr 2026 16:49:55 +0200 Subject: [PATCH] servo: 0.0.6 -> 0.1.0 https://servo.org/blog/2026/04/13/servo-0.1.0-release/ --- nixos/tests/servo.nix | 2 +- pkgs/by-name/se/servo/package.nix | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/nixos/tests/servo.nix b/nixos/tests/servo.nix index 090b1e5b28c4..89c3769cd902 100644 --- a/nixos/tests/servo.nix +++ b/nixos/tests/servo.nix @@ -20,7 +20,7 @@ machine.wait_for_x() with subtest("Wait until Servo has finished loading the Valgrind docs page"): - machine.execute("xterm -e 'servo file://${pkgs.valgrind.doc}/share/doc/valgrind/html/index.html' >&2 &"); + machine.execute("xterm -e '${lib.getExe pkgs.servo} file://${pkgs.valgrind.doc}/share/doc/valgrind/html/index.html' >&2 &"); machine.wait_for_window("Valgrind") machine.wait_for_text("Quick Start Guide") ''; diff --git a/pkgs/by-name/se/servo/package.nix b/pkgs/by-name/se/servo/package.nix index 8bc1c0bd5433..c5546d7ee9e3 100644 --- a/pkgs/by-name/se/servo/package.nix +++ b/pkgs/by-name/se/servo/package.nix @@ -69,13 +69,13 @@ in rustPlatform.buildRustPackage (finalAttrs: { pname = "servo"; - version = "0.0.6"; + version = "0.1.0"; src = fetchFromGitHub { owner = "servo"; repo = "servo"; tag = "v${finalAttrs.version}"; - hash = "sha256-eKog8kcZJXBMJz/Lr0+ZwU95HYZRljGWByJ84vPfiEY="; + hash = "sha256-DnjtKizYwadBYDqafFDuE/DRIjCqnK/L95zV0Fv0Xhc="; # 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 @@ -85,7 +85,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ''; }; - cargoHash = "sha256-VP+hAQDfUVbOa2+Uq6hqG5YgQYRNI01+gDaR2MyYUTM="; + cargoHash = "sha256-TJXWscTnsXxaWTfn7BugVMPamXOsyHXQhJskX04X7Zw="; # set `HOME` to a temp dir for write access # Fix invalid option errors during linking (https://github.com/mozilla/nixpkgs-mozilla/commit/c72ff151a3e25f14182569679ed4cd22ef352328) @@ -159,7 +159,7 @@ rustPlatform.buildRustPackage (finalAttrs: { mkdir -p $out/resources cp -r ./resources $out/ - wrapProgram $out/bin/servo \ + wrapProgram $out/bin/servoshell \ --prefix LD_LIBRARY_PATH : ${runtimePaths} ''; @@ -178,7 +178,7 @@ rustPlatform.buildRustPackage (finalAttrs: { hexa ]; teams = with lib.teams; [ ngi ]; - mainProgram = "servo"; + mainProgram = "servoshell"; platforms = lib.platforms.linux ++ lib.platforms.darwin; }; })