buildMozillaMach: change tests to an attrset
This commit is contained in:
parent
90e5a9338b
commit
f3a4421f27
@ -18,7 +18,7 @@
|
||||
, extraBuildInputs ? []
|
||||
, extraMakeFlags ? []
|
||||
, extraPassthru ? {}
|
||||
, tests ? []
|
||||
, tests ? {}
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -27,7 +27,7 @@
|
||||
license = lib.licenses.mpl20;
|
||||
mainProgram = "firefox";
|
||||
};
|
||||
tests = [ nixosTests.firefox ];
|
||||
tests = { inherit (nixosTests) firefox; };
|
||||
updateScript = callPackage ./update.nix {
|
||||
attrPath = "firefox-unwrapped";
|
||||
};
|
||||
@ -55,7 +55,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]*";
|
||||
@ -86,7 +86,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]*";
|
||||
@ -115,7 +115,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";
|
||||
|
@ -58,7 +58,9 @@
|
||||
license = lib.licenses.mpl20;
|
||||
mainProgram = "floorp";
|
||||
};
|
||||
tests = [ nixosTests.floorp ];
|
||||
tests = {
|
||||
inherit (nixosTests) floorp;
|
||||
};
|
||||
}).override
|
||||
{
|
||||
# Upstream build configuration can be found at
|
||||
|
@ -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 New Issue
Block a user