python3Packages.hydra-core: fix #208843

This commit is contained in:
Samuel Ainsworth 2023-01-03 05:35:56 +00:00
parent a6b1de7902
commit 88ee42a4bd

View file

@ -7,6 +7,7 @@
, importlib-resources
, jre_headless
, omegaconf
, packaging
, pytestCheckHook
, pythonOlder
, substituteAll
@ -48,6 +49,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
antlr4-python3-runtime
omegaconf
packaging
] ++ lib.optionals (pythonOlder "3.9") [
importlib-resources
];
@ -69,6 +71,8 @@ buildPythonPackage rec {
pythonImportsCheck = [
"hydra"
# See https://github.com/NixOS/nixpkgs/issues/208843
"hydra.version"
];
meta = with lib; {