diff --git a/pkgs/by-name/xd/xdg-utils/package.nix b/pkgs/by-name/xd/xdg-utils/package.nix index e4c1acab14ea..2a8d135fea53 100644 --- a/pkgs/by-name/xd/xdg-utils/package.nix +++ b/pkgs/by-name/xd/xdg-utils/package.nix @@ -5,6 +5,7 @@ fetchFromGitLab, runCommand, writeText, + versionCheckHook, # docs deps libxslt, docbook_xml_dtd_412, @@ -333,6 +334,10 @@ stdenv.mkDerivation (finalAttrs: { map (resholve.phraseSolution "xdg-utils-resholved") solutions ); + doInstallCheck = true; + nativeInstallCheckInputs = [ versionCheckHook ]; + versionCheckProgram = "${placeholder "out"}/bin/xdg-terminal"; + passthru.tests.xdg-mime = runCommand "xdg-mime-test" {