balena-cli: move versionCheckHook to nativeInstallCheckInputs

This commit is contained in:
Doron Behar
2025-11-23 13:27:57 +02:00
parent 8ae53bb27e
commit af61ac4b0c
+3 -1
View File
@@ -37,7 +37,6 @@ buildNpmPackage' rec {
nativeBuildInputs = [
node-gyp'
python3
versionCheckHook
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
cctools
@@ -47,6 +46,9 @@ buildNpmPackage' rec {
udev
];
nativeInstallCheckInputs = [
versionCheckHook
];
doInstallCheck = true;
versionCheckProgram = "${placeholder "out"}/bin/balena";