From 30b3b966c70bf343cba9500bb4519673f423795c Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Sat, 23 Nov 2024 13:16:11 +0100 Subject: [PATCH] nvtop: fix meta.platforms --- pkgs/tools/system/nvtop/build-nvtop.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/system/nvtop/build-nvtop.nix b/pkgs/tools/system/nvtop/build-nvtop.nix index 953565150765..01635fef66b4 100644 --- a/pkgs/tools/system/nvtop/build-nvtop.nix +++ b/pkgs/tools/system/nvtop/build-nvtop.nix @@ -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 = lib.optional (!apple) platforms.linux ++ lib.optional apple platforms.darwin; + platforms = if apple then platforms.darwin else platforms.linux; maintainers = with maintainers; [ willibutz gbtb