emacsPackagesNg.magit: find Git during build
This commit is contained in:
parent
d3cea48608
commit
a5f026f778
@ -124,11 +124,16 @@ self:
|
|||||||
# upstream issue: missing file header
|
# upstream issue: missing file header
|
||||||
maxframe = markBroken super.maxframe;
|
maxframe = markBroken super.maxframe;
|
||||||
|
|
||||||
|
magit =
|
||||||
|
(super.magit.override {
|
||||||
# version of magit-popup needs to match magit
|
# version of magit-popup needs to match magit
|
||||||
# https://github.com/magit/magit/issues/3286
|
# https://github.com/magit/magit/issues/3286
|
||||||
magit = super.magit.override {
|
|
||||||
inherit (self.melpaPackages) magit-popup;
|
inherit (self.melpaPackages) magit-popup;
|
||||||
};
|
}).overrideAttrs (attrs: {
|
||||||
|
# searches for Git at build time
|
||||||
|
nativeBuildInputs =
|
||||||
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
||||||
|
});
|
||||||
|
|
||||||
# missing OCaml
|
# missing OCaml
|
||||||
merlin = markBroken super.merlin;
|
merlin = markBroken super.merlin;
|
||||||
|
@ -13,7 +13,7 @@ To update the list of packages from MELPA,
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
{ lib }:
|
{ lib, external }:
|
||||||
|
|
||||||
self:
|
self:
|
||||||
|
|
||||||
@ -132,6 +132,17 @@ self:
|
|||||||
# upstream issue: missing file header
|
# upstream issue: missing file header
|
||||||
maxframe = markBroken super.maxframe;
|
maxframe = markBroken super.maxframe;
|
||||||
|
|
||||||
|
magit =
|
||||||
|
(super.magit.override {
|
||||||
|
# version of magit-popup needs to match magit
|
||||||
|
# https://github.com/magit/magit/issues/3286
|
||||||
|
inherit (self.melpaStablePackages) magit-popup;
|
||||||
|
}).overrideAttrs (attrs: {
|
||||||
|
# searches for Git at build time
|
||||||
|
nativeBuildInputs =
|
||||||
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
||||||
|
});
|
||||||
|
|
||||||
# missing OCaml
|
# missing OCaml
|
||||||
merlin = markBroken super.merlin;
|
merlin = markBroken super.merlin;
|
||||||
|
|
||||||
|
@ -15905,7 +15905,8 @@ with pkgs;
|
|||||||
external = {
|
external = {
|
||||||
inherit (haskellPackages) ghc-mod structured-haskell-mode Agda hindent;
|
inherit (haskellPackages) ghc-mod structured-haskell-mode Agda hindent;
|
||||||
inherit (pythonPackages) elpy;
|
inherit (pythonPackages) elpy;
|
||||||
inherit rtags libffi autoconf automake libpng zlib poppler pkgconfig w3m;
|
inherit
|
||||||
|
autoconf automake git libffi libpng pkgconfig poppler rtags w3m zlib;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
melpaStablePackages = import ../applications/editors/emacs-modes/melpa-stable-packages.nix {
|
melpaStablePackages = import ../applications/editors/emacs-modes/melpa-stable-packages.nix {
|
||||||
inherit lib;
|
inherit external lib;
|
||||||
};
|
};
|
||||||
|
|
||||||
melpaPackages = import ../applications/editors/emacs-modes/melpa-packages.nix {
|
melpaPackages = import ../applications/editors/emacs-modes/melpa-packages.nix {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user