nvtopPackages: set platform accordingly

This commit is contained in:
moni 2024-11-21 00:12:37 +08:00
parent 37cf6e3ee6
commit 088ac6b39e

View File

@ -98,7 +98,7 @@ stdenv.mkDerivation (finalAttrs: {
homepage = "https://github.com/Syllo/nvtop";
changelog = "https://github.com/Syllo/nvtop/releases/tag/${finalAttrs.version}";
license = licenses.gpl3Only;
platforms = platforms.linux ++ platforms.darwin;
platforms = lib.optional (!apple) platforms.linux ++ lib.optional apple platforms.darwin;
maintainers = with maintainers; [
willibutz
gbtb