mirror of
https://github.com/nix-community/emacs-overlay.git
synced 2025-12-06 02:40:25 -08:00
Fix indentation
This commit is contained in:
parent
fdf09998a0
commit
88d3f72dcc
1 changed files with 24 additions and 24 deletions
|
|
@ -89,10 +89,21 @@ let
|
|||
]);
|
||||
|
||||
emacs-git = let base = (super.lib.makeOverridable (mkGitEmacs "emacs-git" ../repos/emacs/emacs-master.json) { withSQLite3 = true; withWebP = true; });
|
||||
# TODO: remove when we drop support for < 23.05, and instead move withTreeSitter to the above line with the other arguments
|
||||
maybeOverridden = if super.lib.hasAttr "treeSitter" base then base.override { withTreeSitter = true; } else base;
|
||||
in
|
||||
maybeOverridden.overrideAttrs (
|
||||
# TODO: remove when we drop support for < 23.05, and instead move withTreeSitter to the above line with the other arguments
|
||||
maybeOverridden = if super.lib.hasAttr "treeSitter" base then base.override { withTreeSitter = true; } else base;
|
||||
in
|
||||
maybeOverridden.overrideAttrs (
|
||||
oa: {
|
||||
patches = oa.patches ++ [
|
||||
# XXX: #318
|
||||
./bytecomp-revert.patch
|
||||
]; }
|
||||
);
|
||||
|
||||
emacs-pgtk = let base = super.lib.makeOverridable (mkGitEmacs "emacs-pgtk" ../repos/emacs/emacs-master.json) { withSQLite3 = true; withWebP = true; withPgtk = true; };
|
||||
# TODO: remove when we drop support for < 23.05, and instead move withTreeSitter to the above line with the other arguments
|
||||
maybeOverridden = if super.lib.hasAttr "treeSitter" base then base.override { withTreeSitter = true; } else base;
|
||||
in maybeOverridden.overrideAttrs (
|
||||
oa: {
|
||||
patches = oa.patches ++ [
|
||||
# XXX: #318
|
||||
|
|
@ -100,31 +111,20 @@ let
|
|||
]; }
|
||||
);
|
||||
|
||||
emacs-pgtk = let base = super.lib.makeOverridable (mkGitEmacs "emacs-pgtk" ../repos/emacs/emacs-master.json) { withSQLite3 = true; withWebP = true; withPgtk = true; };
|
||||
# TODO: remove when we drop support for < 23.05, and instead move withTreeSitter to the above line with the other arguments
|
||||
maybeOverridden = if super.lib.hasAttr "treeSitter" base then base.override { withTreeSitter = true; } else base;
|
||||
in maybeOverridden.overrideAttrs (
|
||||
oa: {
|
||||
patches = oa.patches ++ [
|
||||
# XXX: #318
|
||||
./bytecomp-revert.patch
|
||||
]; }
|
||||
);
|
||||
|
||||
emacs-unstable = let base = super.lib.makeOverridable (mkGitEmacs "emacs-unstable" ../repos/emacs/emacs-unstable.json) { withSQLite3 = true; withWebP = true; };
|
||||
# TODO: remove when we drop support for < 23.05, and instead move withTreeSitter to the above line with the other arguments
|
||||
maybeOverridden = if super.lib.hasAttr "treeSitter" base then base.override { withTreeSitter = true; } else base;
|
||||
in maybeOverridden;
|
||||
# TODO: remove when we drop support for < 23.05, and instead move withTreeSitter to the above line with the other arguments
|
||||
maybeOverridden = if super.lib.hasAttr "treeSitter" base then base.override { withTreeSitter = true; } else base;
|
||||
in maybeOverridden;
|
||||
|
||||
emacs-unstable-pgtk = let base = super.lib.makeOverridable (mkGitEmacs "emacs-unstable" ../repos/emacs/emacs-unstable.json) { withSQLite3 = true; withWebP = true; withPgtk = true; };
|
||||
# TODO: remove when we drop support for < 23.05, and instead move withTreeSitter to the above line with the other arguments
|
||||
maybeOverridden = if super.lib.hasAttr "treeSitter" base then base.override { withTreeSitter = true; } else base;
|
||||
in maybeOverridden;
|
||||
# TODO: remove when we drop support for < 23.05, and instead move withTreeSitter to the above line with the other arguments
|
||||
maybeOverridden = if super.lib.hasAttr "treeSitter" base then base.override { withTreeSitter = true; } else base;
|
||||
in maybeOverridden;
|
||||
|
||||
emacs-lsp = let base = super.lib.makeOverridable (mkGitEmacs "emacs-lsp" ../repos/emacs/emacs-lsp.json) { };
|
||||
# TODO: remove when we drop support for < 23.05, and instead move withTreeSitter to the above line with the other arguments
|
||||
maybeOverridden = if super.lib.hasAttr "treeSitter" base then base.override { withTreeSitter = false; } else base;
|
||||
in maybeOverridden;
|
||||
# TODO: remove when we drop support for < 23.05, and instead move withTreeSitter to the above line with the other arguments
|
||||
maybeOverridden = if super.lib.hasAttr "treeSitter" base then base.override { withTreeSitter = false; } else base;
|
||||
in maybeOverridden;
|
||||
|
||||
emacs-git-nox = (
|
||||
(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue