firefox: Add test references
This commit is contained in:
parent
0d3bf0781f
commit
77665740b5
@ -1,6 +1,6 @@
|
|||||||
{ pname, ffversion, meta, updateScript ? null
|
{ pname, ffversion, meta, updateScript ? null
|
||||||
, src, unpackPhase ? null, patches ? []
|
, src, unpackPhase ? null, patches ? []
|
||||||
, extraNativeBuildInputs ? [], extraConfigureFlags ? [], extraMakeFlags ? [] }:
|
, extraNativeBuildInputs ? [], extraConfigureFlags ? [], extraMakeFlags ? [], tests ? [] }:
|
||||||
|
|
||||||
{ lib, stdenv, pkg-config, pango, perl, python3, zip
|
{ lib, stdenv, pkg-config, pango, perl, python3, zip
|
||||||
, libjpeg, zlib, dbus, dbus-glib, bzip2, xorg
|
, libjpeg, zlib, dbus, dbus-glib, bzip2, xorg
|
||||||
@ -351,6 +351,7 @@ buildStdenv.mkDerivation ({
|
|||||||
inherit gssSupport;
|
inherit gssSupport;
|
||||||
inherit execdir;
|
inherit execdir;
|
||||||
inherit browserName;
|
inherit browserName;
|
||||||
|
inherit tests;
|
||||||
} // lib.optionalAttrs gtk3Support { inherit gtk3; };
|
} // lib.optionalAttrs gtk3Support { inherit gtk3; };
|
||||||
|
|
||||||
hardeningDisable = [ "format" ]; # -Werror=format-security
|
hardeningDisable = [ "format" ]; # -Werror=format-security
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, callPackage, fetchurl, fetchpatch }:
|
{ stdenv, lib, callPackage, fetchurl, fetchpatch, nixosTests }:
|
||||||
|
|
||||||
let
|
let
|
||||||
common = opts: callPackage (import ./common.nix opts) {};
|
common = opts: callPackage (import ./common.nix opts) {};
|
||||||
@ -23,6 +23,7 @@ rec {
|
|||||||
# not in `badPlatforms` because cross-compilation on 64-bit machine might work.
|
# not in `badPlatforms` because cross-compilation on 64-bit machine might work.
|
||||||
license = lib.licenses.mpl20;
|
license = lib.licenses.mpl20;
|
||||||
};
|
};
|
||||||
|
tests = [ nixosTests.firefox ];
|
||||||
updateScript = callPackage ./update.nix {
|
updateScript = callPackage ./update.nix {
|
||||||
attrPath = "firefox-unwrapped";
|
attrPath = "firefox-unwrapped";
|
||||||
versionKey = "ffversion";
|
versionKey = "ffversion";
|
||||||
@ -47,6 +48,7 @@ rec {
|
|||||||
# not in `badPlatforms` because cross-compilation on 64-bit machine might work.
|
# not in `badPlatforms` because cross-compilation on 64-bit machine might work.
|
||||||
license = lib.licenses.mpl20;
|
license = lib.licenses.mpl20;
|
||||||
};
|
};
|
||||||
|
tests = [ nixosTests.firefox-esr ];
|
||||||
updateScript = callPackage ./update.nix {
|
updateScript = callPackage ./update.nix {
|
||||||
attrPath = "firefox-esr-78-unwrapped";
|
attrPath = "firefox-esr-78-unwrapped";
|
||||||
versionKey = "ffversion";
|
versionKey = "ffversion";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user