From feaebf6fc19fa86b36a956709b22599b347c589d Mon Sep 17 00:00:00 2001 From: Ethan Carter Edwards Date: Sat, 16 May 2026 04:52:14 -0400 Subject: [PATCH] scrot: add versionCheckHook Signed-off-by: Ethan Carter Edwards --- pkgs/by-name/sc/scrot/package.nix | 4 ++++ 1 file changed, 4 insertions(+) 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";