mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
xdg-utils: add versionCheckHook
This commit is contained in:
@@ -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"
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user