From caa832cbc6a48cc6ea4a9cc4c390fbb62002d4a9 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Thu, 5 May 2022 13:19:53 +0400 Subject: [PATCH 1/3] teamviewer: set outputs to reduce runtime closure --- pkgs/applications/networking/remote/teamviewer/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/networking/remote/teamviewer/default.nix b/pkgs/applications/networking/remote/teamviewer/default.nix index 7ee1cc9ab4fa..ba6d3d3c0f85 100644 --- a/pkgs/applications/networking/remote/teamviewer/default.nix +++ b/pkgs/applications/networking/remote/teamviewer/default.nix @@ -6,6 +6,8 @@ mkDerivation rec { pname = "teamviewer"; + # teamviewer itself has not development files but the dev output removes propagated other dev outputs from runtime + outputs = [ "out" "dev" ]; version = "15.29.4"; src = fetchurl { From 4165ae53920a84ba14ce675d138592432e0a3a74 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Thu, 5 May 2022 13:20:16 +0400 Subject: [PATCH 2/3] pygtk: set outputs to reduce runtime closure --- pkgs/development/python2-modules/pygtk/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python2-modules/pygtk/default.nix b/pkgs/development/python2-modules/pygtk/default.nix index 465d711ec6ff..08e1520c4c85 100644 --- a/pkgs/development/python2-modules/pygtk/default.nix +++ b/pkgs/development/python2-modules/pygtk/default.nix @@ -3,6 +3,7 @@ buildPythonPackage rec { pname = "pygtk"; + outputs = [ "out" "dev" ]; version = "2.24.0"; disabled = isPy3k; From db228fed78133ae3c7078772b43267c803702d5e Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Fri, 13 May 2022 20:59:12 +0400 Subject: [PATCH 3/3] gimp: add pygtk dev output to build inputs --- pkgs/applications/graphics/gimp/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/graphics/gimp/default.nix b/pkgs/applications/graphics/gimp/default.nix index 55c95c95cf73..cefba7ff7747 100644 --- a/pkgs/applications/graphics/gimp/default.nix +++ b/pkgs/applications/graphics/gimp/default.nix @@ -115,6 +115,8 @@ in stdenv.mkDerivation rec { libwebp libheif python + # Duplicated here because python.withPackages does not expose the dev output with pkg-config files + python2.pkgs.pygtk libexif xorg.libXpm glib-networking