Skip to content

Commit 1a35234

Browse files
committed
herdr: add versionCheckHook for install checks
1 parent 606f37b commit 1a35234

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pkgs/by-name/he/herdr/package.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
writeShellScriptBin,
88
apple-sdk,
99
cctools,
10+
versionCheckHook,
1011
nix-update-script,
1112
}:
1213

@@ -66,6 +67,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
6667
chmod -R u+w "$ZIG_GLOBAL_CACHE_DIR/p"
6768
'';
6869

70+
nativeInstallCheckInputs = [ versionCheckHook ];
71+
doInstallCheck = true;
72+
6973
passthru.updateScript = nix-update-script { };
7074

7175
meta = {

0 commit comments

Comments
 (0)