lixPackageSets.*.lix: omit unneeded Python packages when !doInstallCheck
This commit is contained in:
@@ -137,12 +137,17 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
# python3.withPackages does not splice properly, see https://github.com/NixOS/nixpkgs/issues/305858
|
||||
(python3.pythonOnBuildForHost.withPackages (p: [
|
||||
p.pytest
|
||||
p.pytest-xdist
|
||||
p.python-frontmatter
|
||||
p.toml
|
||||
]))
|
||||
(python3.pythonOnBuildForHost.withPackages (
|
||||
p:
|
||||
[
|
||||
p.python-frontmatter
|
||||
p.toml
|
||||
]
|
||||
++ lib.optionals finalAttrs.doInstallCheck [
|
||||
p.pytest
|
||||
p.pytest-xdist
|
||||
]
|
||||
))
|
||||
pkg-config
|
||||
flex
|
||||
jq
|
||||
|
||||
Reference in New Issue
Block a user