Merge master into staging-next
This commit is contained in:
@@ -3,11 +3,10 @@
|
||||
# TODO: use jdk https://github.com/NixOS/nixpkgs/pull/89731
|
||||
, openjdk8 ? null # javacSupport
|
||||
, unixODBC ? null # odbcSupport
|
||||
, libGL ? null, libGLU ? null, wxGTK ? null, wxmac ? null, xorg ? null # wxSupport
|
||||
, libGL ? null, libGLU ? null, wxGTK ? null, wxmac ? null, xorg ? null
|
||||
, parallelBuild ? false
|
||||
, systemd
|
||||
, systemd, wxSupport ? true
|
||||
}:
|
||||
|
||||
{ baseName ? "erlang"
|
||||
, version
|
||||
, sha256 ? null
|
||||
@@ -21,7 +20,7 @@
|
||||
, javacSupport ? false, javacPackages ? [ openjdk8 ]
|
||||
, odbcSupport ? false, odbcPackages ? [ unixODBC ]
|
||||
, withSystemd ? stdenv.isLinux # systemd support in epmd
|
||||
, wxSupport ? true, wxPackages ? [ libGL libGLU wxGTK xorg.libX11 ]
|
||||
, wxPackages ? [ libGL libGLU wxGTK xorg.libX11 ]
|
||||
, preUnpack ? "", postUnpack ? ""
|
||||
, patches ? [], patchPhase ? "", prePatch ? "", postPatch ? ""
|
||||
, configureFlags ? [], configurePhase ? "", preConfigure ? "", postConfigure ? ""
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
# Tests for the Python interpreters, package sets and environments.
|
||||
#
|
||||
# Each Python interpreter has a `passthru.tests` which is the attribute set
|
||||
# returned by this function. For example, for Python 3 the tests are run with
|
||||
#
|
||||
# $ nix-build -A python3.tests
|
||||
#
|
||||
{ stdenv
|
||||
, python
|
||||
, runCommand
|
||||
@@ -7,6 +14,8 @@
|
||||
}:
|
||||
|
||||
let
|
||||
# Test whether the interpreter behaves in the different types of environments
|
||||
# we aim to support.
|
||||
environmentTests = let
|
||||
envs = let
|
||||
inherit python;
|
||||
@@ -83,6 +92,7 @@ let
|
||||
|
||||
in lib.mapAttrs testfun envs;
|
||||
|
||||
# Integration tests involving the package set.
|
||||
# All PyPy package builds are broken at the moment
|
||||
integrationTests = lib.optionalAttrs (python.pythonAtLeast "3.7" && (!python.isPyPy)) rec {
|
||||
# Before the addition of NIX_PYTHONPREFIX mypy was broken with typed packages
|
||||
|
||||
Reference in New Issue
Block a user