From 327e535e95f2235575fe7421b84b2b9a9924aa79 Mon Sep 17 00:00:00 2001 From: Sergey Makarov Date: Sun, 17 Jan 2021 01:23:13 +0300 Subject: [PATCH 1/2] telega: Fix build --- pkgs/applications/editors/emacs-modes/melpa-packages.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/editors/emacs-modes/melpa-packages.nix b/pkgs/applications/editors/emacs-modes/melpa-packages.nix index 93e215753c79..68869113b92a 100644 --- a/pkgs/applications/editors/emacs-modes/melpa-packages.nix +++ b/pkgs/applications/editors/emacs-modes/melpa-packages.nix @@ -341,6 +341,7 @@ let # Telega has a server portion for it's network protocol telega = super.telega.overrideAttrs (old: { buildInputs = old.buildInputs ++ [ pkgs.tdlib ]; + nativeBuildInputs = [ external.pkgconfig ]; postBuild = '' cd source/server From 90febc0e345d854d1e5487ab6cc4430bc16444b9 Mon Sep 17 00:00:00 2001 From: Sergey Date: Mon, 18 Jan 2021 12:36:18 +0300 Subject: [PATCH 2/2] telega: Fix pkg-config dependency Co-authored-by: Sandro --- pkgs/applications/editors/emacs-modes/melpa-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/editors/emacs-modes/melpa-packages.nix b/pkgs/applications/editors/emacs-modes/melpa-packages.nix index 68869113b92a..7156bb86d617 100644 --- a/pkgs/applications/editors/emacs-modes/melpa-packages.nix +++ b/pkgs/applications/editors/emacs-modes/melpa-packages.nix @@ -341,7 +341,7 @@ let # Telega has a server portion for it's network protocol telega = super.telega.overrideAttrs (old: { buildInputs = old.buildInputs ++ [ pkgs.tdlib ]; - nativeBuildInputs = [ external.pkgconfig ]; + nativeBuildInputs = [ external.pkg-config ]; postBuild = '' cd source/server