Unverified Commit e681e605 authored by Stefan Frijters's avatar Stefan Frijters
Browse files

mkspiffs: add versionCheckHook

parent f50e815c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  stdenv,
  fetchFromGitHub,
  pkgsBuildHost,
  versionCheckHook,
}:

# Changing the variables CPPFLAGS and BUILD_CONFIG_NAME can be done by
@@ -45,6 +46,9 @@ stdenv.mkDerivation (finalAttrs: {
    install -Dm755 -t $out/bin mkspiffs
  '';

  nativeInstallCheckInputs = [ versionCheckHook ];
  doInstallCheck = true;

  meta = {
    description = "Tool to build and unpack SPIFFS images";
    license = lib.licenses.mit;