mkspiffs: add versionCheckHook
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user