From 673076b0a89ce4f1638650e97a44b38061c384e6 Mon Sep 17 00:00:00 2001 From: Bryan Lai Date: Wed, 25 Dec 2024 19:49:02 +0800 Subject: [PATCH] python2Packages.pygtk: fix build w/ `-fpermissive` ... and adopt the package: add @bryango to maintainers. --- pkgs/development/python2-modules/pygtk/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python2-modules/pygtk/default.nix b/pkgs/development/python2-modules/pygtk/default.nix index 9ba5ce952e17..066a00884ef0 100644 --- a/pkgs/development/python2-modules/pygtk/default.nix +++ b/pkgs/development/python2-modules/pygtk/default.nix @@ -58,7 +58,8 @@ buildPythonPackage rec { env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-ObjC" - + lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) " -lpython2.7"; + + lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) " -lpython2.7" + + " -fpermissive"; # downgrade code errors to warnings installPhase = "installPhase"; @@ -94,5 +95,6 @@ buildPythonPackage rec { homepage = "https://gitlab.gnome.org/Archive/pygtk"; platforms = platforms.all; license = with licenses; [ lgpl21Plus ]; + maintainers = with lib.maintainers; [ bryango ]; }; }