From 223a0eac99c06370a972da5d970661c6a7e084ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Sat, 30 Nov 2024 22:48:55 +0100 Subject: [PATCH] bottom: enable tests --- pkgs/by-name/bo/bottom/package.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/bo/bottom/package.nix b/pkgs/by-name/bo/bottom/package.nix index d64f769110cf65..f5fa0677914989 100644 --- a/pkgs/by-name/bo/bottom/package.nix +++ b/pkgs/by-name/bo/bottom/package.nix @@ -33,8 +33,6 @@ rustPlatform.buildRustPackage rec { apple-sdk_11 ]; - doCheck = false; - postInstall = '' installManPage target/tmp/bottom/manpage/btm.1 installShellCompletion \ @@ -44,6 +42,10 @@ rustPlatform.buildRustPackage rec { install -Dm444 desktop/bottom.desktop -t $out/share/applications ''; + preCheck = '' + HOME=$(mktemp -d) + ''; + BTM_GENERATE = true; passthru = {