Skip to content

Commit

Permalink
bottom: enable tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gepbird committed Dec 11, 2024
1 parent 35e51f7 commit c3ed078
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/by-name/bo/bottom/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ rustPlatform.buildRustPackage rec {
apple-sdk_11
];

doCheck = false;

postInstall = ''
installManPage target/tmp/bottom/manpage/btm.1
installShellCompletion \
Expand All @@ -44,6 +42,10 @@ rustPlatform.buildRustPackage rec {
install -Dm444 desktop/bottom.desktop -t $out/share/applications
'';

preCheck = ''
HOME=$(mktemp -d)
'';

BTM_GENERATE = true;

passthru = {
Expand Down

0 comments on commit c3ed078

Please sign in to comment.