diff --git a/pkgs/by-name/bo/bottom/package.nix b/pkgs/by-name/bo/bottom/package.nix index 583cc57e37eeef..a91bdf35368282 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 = {