From 89b618771ad4b0cfdb874dee3d51eb267c4257dd Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Mon, 1 Oct 2018 17:01:24 +0800 Subject: [PATCH] emacs: fix egg dependency on git --- pkgs/applications/editors/emacs-modes/melpa-packages.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/emacs-modes/melpa-packages.nix b/pkgs/applications/editors/emacs-modes/melpa-packages.nix index 0e5a0a9ec7f..777d8e62541 100644 --- a/pkgs/applications/editors/emacs-modes/melpa-packages.nix +++ b/pkgs/applications/editors/emacs-modes/melpa-packages.nix @@ -59,8 +59,11 @@ self: inherit (self.melpaPackages) easy-kill; }; - # missing git - egg = markBroken super.egg; + egg = super.egg.overrideAttrs (attrs: { + # searches for Git at build time + nativeBuildInputs = + (attrs.nativeBuildInputs or []) ++ [ external.git ]; + }); # upstream issue: missing file header elmine = markBroken super.elmine;