mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
buildMozillaMach: change tests to an attrset
(cherry picked from commit f3a4421f27
)
This commit is contained in:
parent
6bbb777b43
commit
b4137f3fbb
|
@ -18,7 +18,7 @@
|
|||
, extraBuildInputs ? []
|
||||
, extraMakeFlags ? []
|
||||
, extraPassthru ? {}
|
||||
, tests ? []
|
||||
, tests ? {}
|
||||
}:
|
||||
|
||||
let
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
license = lib.licenses.mpl20;
|
||||
mainProgram = "firefox";
|
||||
};
|
||||
tests = [ nixosTests.firefox ];
|
||||
tests = { inherit (nixosTests) firefox; };
|
||||
updateScript = callPackage ./update.nix {
|
||||
attrPath = "firefox-unwrapped";
|
||||
};
|
||||
|
@ -53,7 +53,7 @@
|
|||
license = lib.licenses.mpl20;
|
||||
mainProgram = "firefox";
|
||||
};
|
||||
tests = [ nixosTests.firefox-beta ];
|
||||
tests = { inherit (nixosTests) firefox-beta; };
|
||||
updateScript = callPackage ./update.nix {
|
||||
attrPath = "firefox-beta-unwrapped";
|
||||
versionSuffix = "b[0-9]*";
|
||||
|
@ -84,7 +84,7 @@
|
|||
license = lib.licenses.mpl20;
|
||||
mainProgram = "firefox";
|
||||
};
|
||||
tests = [ nixosTests.firefox-devedition ];
|
||||
tests = { inherit (nixosTests) firefox-devedition; };
|
||||
updateScript = callPackage ./update.nix {
|
||||
attrPath = "firefox-devedition-unwrapped";
|
||||
versionSuffix = "b[0-9]*";
|
||||
|
@ -113,7 +113,7 @@
|
|||
license = lib.licenses.mpl20;
|
||||
mainProgram = "firefox";
|
||||
};
|
||||
tests = [ nixosTests.firefox-esr-128 ];
|
||||
tests = { inherit (nixosTests) firefox-esr-128; };
|
||||
updateScript = callPackage ./update.nix {
|
||||
attrPath = "firefox-esr-128-unwrapped";
|
||||
versionPrefix = "128";
|
||||
|
|
|
@ -57,7 +57,9 @@
|
|||
license = lib.licenses.mpl20;
|
||||
mainProgram = "floorp";
|
||||
};
|
||||
tests = [ nixosTests.floorp ];
|
||||
tests = {
|
||||
inherit (nixosTests) floorp;
|
||||
};
|
||||
}).override {
|
||||
# Upstream build configuration can be found at
|
||||
# .github/workflows/src/linux/shared/mozconfig_linux_base
|
||||
|
|
|
@ -26,7 +26,7 @@ in
|
|||
license = lib.licenses.mpl20;
|
||||
mainProgram = "librewolf";
|
||||
};
|
||||
tests = [ nixosTests.librewolf ];
|
||||
tests = { inherit (nixosTests) librewolf; };
|
||||
updateScript = callPackage ./update.nix {
|
||||
attrPath = "librewolf-unwrapped";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue