diff --git a/pkgs/by-name/lf/lf/package.nix b/pkgs/by-name/lf/lf/package.nix index e5b1cb3a8001..d2af98e695e7 100644 --- a/pkgs/by-name/lf/lf/package.nix +++ b/pkgs/by-name/lf/lf/package.nix @@ -4,6 +4,7 @@ buildGoModule, fetchFromGitHub, installShellFiles, + versionCheckHook, }: buildGoModule rec { @@ -37,6 +38,10 @@ buildGoModule rec { installShellCompletion etc/lf.{bash,zsh,fish} ''; + doInstallCheck = true; + + nativeInstallCheckInputs = [ versionCheckHook ]; + meta = { description = "Terminal file manager written in Go and heavily inspired by ranger"; longDescription = ''