diff --git a/pkgs/by-name/sc/scrot/package.nix b/pkgs/by-name/sc/scrot/package.nix index a6edebf62222..3fe8b7640927 100644 --- a/pkgs/by-name/sc/scrot/package.nix +++ b/pkgs/by-name/sc/scrot/package.nix @@ -12,6 +12,7 @@ libxinerama, pkg-config, libbsd, + versionCheckHook, }: stdenv.mkDerivation (finalAttrs: { @@ -44,6 +45,9 @@ stdenv.mkDerivation (finalAttrs: { libbsd ]; + nativeInstallCheckInputs = [ versionCheckHook ]; + doInstallCheck = true; + meta = { homepage = "https://github.com/resurrecting-open-source-projects/scrot"; description = "Command-line screen capture utility";