From 90e377d0f78c01af9715fcd5f263539b8d40fe24 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Wed, 20 Aug 2025 23:18:12 -0400 Subject: [PATCH] xbill: fix build on darwin; test that binary exists --- pkgs/by-name/xb/xbill/package.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/by-name/xb/xbill/package.nix b/pkgs/by-name/xb/xbill/package.nix index 0663503c3162..ac0711f07820 100644 --- a/pkgs/by-name/xb/xbill/package.nix +++ b/pkgs/by-name/xb/xbill/package.nix @@ -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/";