Commit af61ac4b authored by Doron Behar's avatar Doron Behar
Browse files

balena-cli: move versionCheckHook to nativeInstallCheckInputs

parent 8ae53bb2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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";