From d34513014f7b695e39d42ae8ed514b480710573b Mon Sep 17 00:00:00 2001 From: Atemu Date: Mon, 17 Jan 2022 22:33:49 +0100 Subject: [PATCH] emacs: always put texinfo in nativeBuildinputs for macport builds Non-source macport builds require it --- pkgs/applications/editors/emacs/generic.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/editors/emacs/generic.nix b/pkgs/applications/editors/emacs/generic.nix index 94c92539e4ca..f0e97a07194f 100644 --- a/pkgs/applications/editors/emacs/generic.nix +++ b/pkgs/applications/editors/emacs/generic.nix @@ -135,7 +135,8 @@ let emacs = (if withMacport then llvmPackages_6.stdenv else stdenv).mkDerivation ]; nativeBuildInputs = [ pkg-config makeWrapper ] - ++ lib.optionals srcRepo [ autoreconfHook texinfo ] + ++ lib.optionals (srcRepo || withMacport) [ texinfo ] + ++ lib.optionals srcRepo [ autoreconfHook ] ++ lib.optional (withX && (withGTK3 || withXwidgets)) wrapGAppsHook; buildInputs =