From c8510e5cf20bcd35783ef0935fbbbdd2a2a670d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dennis=20V=C3=A6rum?= <6872940+dvaerum@users.noreply.github.com> Date: Wed, 31 Jul 2024 17:19:21 +0200 Subject: [PATCH] cobang: set `platform` to support `lib.platforms.linux` I have built cobang on the architecture `aarch64-linux` and it works for me. Since the program is written in python I will assume that it will work on all Linux architectures so I have set `platform` to support `lib.platforms.linux` --- pkgs/applications/misc/cobang/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/cobang/default.nix b/pkgs/applications/misc/cobang/default.nix index 0aca420fc7a4..e20bf9b818ad 100644 --- a/pkgs/applications/misc/cobang/default.nix +++ b/pkgs/applications/misc/cobang/default.nix @@ -97,8 +97,8 @@ buildPythonApplication rec { description = "QR code scanner desktop app for Linux"; homepage = "https://github.com/hongquan/CoBang"; license = licenses.gpl3Only; - maintainers = [ ]; + maintainers = with maintainers; [ aleksana dvaerum ]; mainProgram = "cobang"; - platforms = [ "x86_64-linux" ]; + platforms = lib.platforms.linux; }; }