mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
buildHomeAssistantComponent: migrate packaging dependency into setup hook
This commit is contained in:
@@ -52,13 +52,10 @@ lib.extendMkDerivation {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
nativeBuildInputs =
|
||||
with home-assistant.python3Packages;
|
||||
[
|
||||
manifestRequirementsCheckHook
|
||||
packaging
|
||||
]
|
||||
++ (args.nativeBuildInputs or [ ]);
|
||||
nativeBuildInputs = [
|
||||
manifestRequirementsCheckHook
|
||||
]
|
||||
++ (args.nativeBuildInputs or [ ]);
|
||||
|
||||
passthru = {
|
||||
isHomeAssistantComponent = true;
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
makeSetupHook {
|
||||
name = "manifest-check-hook";
|
||||
propagatedNativeBuildInputs = [ python3Packages.packaging ];
|
||||
substitutions = {
|
||||
pythonCheckInterpreter = python3Packages.python.interpreter;
|
||||
checkManifest = ./check_manifest.py;
|
||||
|
||||
Reference in New Issue
Block a user