From 088ac6b39eae37775b5b6c34516017949ec8e756 Mon Sep 17 00:00:00 2001 From: moni Date: Thu, 21 Nov 2024 00:12:37 +0800 Subject: [PATCH] nvtopPackages: set platform accordingly --- 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 7d5e2cd79949..953565150765 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 = platforms.linux ++ platforms.darwin; + platforms = lib.optional (!apple) platforms.linux ++ lib.optional apple platforms.darwin; maintainers = with maintainers; [ willibutz gbtb