servo: 0.0.1-unstable-2025-11-12 -> 0.0.2
https://github.com/servo/servo/releases/tag/v0.0.2
This commit is contained in:
@@ -63,15 +63,15 @@ let
|
|||||||
);
|
);
|
||||||
in
|
in
|
||||||
|
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
pname = "servo";
|
pname = "servo";
|
||||||
version = "0.0.1-unstable-2025-11-12";
|
version = "0.0.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "servo";
|
owner = "servo";
|
||||||
repo = "servo";
|
repo = "servo";
|
||||||
rev = "59526928afc81c840f9890eb0a653b16e8128ba6";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-BidSQ/c4dST5qJLHZX5Sbcnw7JxfQl/mlI2F6qg0fxw=";
|
hash = "sha256-mhZaAyLznchFUd9f2HqD7th3RDO2inH6U3L5PcZLPFA=";
|
||||||
# Breaks reproducibility depending on whether the picked commit
|
# Breaks reproducibility depending on whether the picked commit
|
||||||
# has other ref-names or not, which may change over time, i.e. with
|
# 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
|
# "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
|
# set `HOME` to a temp dir for write access
|
||||||
# Fix invalid option errors during linking (https://github.com/mozilla/nixpkgs-mozilla/commit/c72ff151a3e25f14182569679ed4cd22ef352328)
|
# Fix invalid option errors during linking (https://github.com/mozilla/nixpkgs-mozilla/commit/c72ff151a3e25f14182569679ed4cd22ef352328)
|
||||||
@@ -160,7 +160,7 @@ rustPlatform.buildRustPackage {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
|
updateScript = nix-update-script { };
|
||||||
tests = { inherit (nixosTests) servo; };
|
tests = { inherit (nixosTests) servo; };
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -178,4 +178,4 @@ rustPlatform.buildRustPackage {
|
|||||||
mainProgram = "servo";
|
mainProgram = "servo";
|
||||||
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user