Skip to content

Commit

Permalink
Try removing the bytecomp-revert.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
leungbk committed Jan 23, 2024
1 parent b47e82d commit d6772c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 44 deletions.
30 changes: 0 additions & 30 deletions overlays/bytecomp-revert.patch

This file was deleted.

16 changes: 2 additions & 14 deletions overlays/emacs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -92,24 +92,12 @@ let
# 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 || super.lib.hasAttr "withTreeSitter" base) then base.override { withTreeSitter = true; } else base;
in
maybeOverridden.overrideAttrs (
oa: {
patches = oa.patches ++ [
# XXX: #318
./bytecomp-revert.patch
]; }
);
maybeOverridden;

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 || super.lib.hasAttr "withTreeSitter" base) then base.override { withTreeSitter = true; } else base;
in maybeOverridden.overrideAttrs (
oa: {
patches = oa.patches ++ [
# XXX: #318
./bytecomp-revert.patch
]; }
);
in maybeOverridden;

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
Expand Down

0 comments on commit d6772c6

Please sign in to comment.