xbill: fix build on darwin; test that binary exists

This commit is contained in:
Ihar Hrachyshka
2025-08-20 23:18:19 -04:00
parent fa2d5fdaac
commit 90e377d0f7
+7
View File
@@ -62,10 +62,17 @@ stdenv.mkDerivation rec {
})
];
makeFlags = "-B";
postInstall = ''
install -Dm644 pixmaps/icon.xpm $out/share/pixmaps/xbill.xpm
'';
doInstallCheck = true;
postInstallCheck = ''
$out/bin/xbill --version
'';
meta = {
description = "Protect a computer network from getting infected";
homepage = "http://www.xbill.org/";