From bcf872cd70fc95ae501696bde2e7f483cf463b7c Mon Sep 17 00:00:00 2001 From: ocfox Date: Sat, 10 Feb 2024 23:22:26 +0800 Subject: [PATCH] stlink: set darwin badPlatforms set darwin as badPlatforms, 1.8.0 has stop darwin support --- pkgs/development/tools/misc/stlink/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/misc/stlink/default.nix b/pkgs/development/tools/misc/stlink/default.nix index 828def65dfa9..2255fbfd8dcb 100644 --- a/pkgs/development/tools/misc/stlink/default.nix +++ b/pkgs/development/tools/misc/stlink/default.nix @@ -47,8 +47,8 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "In-circuit debug and programming for ST-Link devices"; license = licenses.bsd3; - # upstream says windows, linux/unix but dropped support for macOS in 1.8.0 - platforms = platforms.linux; # not sure how to express unix without darwin + platforms = platforms.unix; + badPlatforms = platforms.darwin; maintainers = [ maintainers.bjornfor maintainers.rongcuid ]; }; }