diff --git a/pkgs/by-name/li/libbytesize/package.nix b/pkgs/by-name/li/libbytesize/package.nix index 5928f4c9a7ed..2e29b8b29906 100644 --- a/pkgs/by-name/li/libbytesize/package.nix +++ b/pkgs/by-name/li/libbytesize/package.nix @@ -42,6 +42,9 @@ stdenv.mkDerivation (finalAttrs: { libxslt pkg-config python3Packages.python + ]; + + nativeInstallCheckInputs = [ python3Packages.pythonImportsCheckHook ]; @@ -51,6 +54,7 @@ stdenv.mkDerivation (finalAttrs: { pcre2 ]; + doInstallCheck = true; strictDeps = true; postInstall = ''