Skip to content

Commit

Permalink
Move Emacs 29's bonus-feature flags to mkGitEmacs
Browse files Browse the repository at this point in the history
  • Loading branch information
leungbk committed Sep 16, 2022
1 parent af086e6 commit ca91042
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ let
super.emacs
[

(drv: drv.override ({ srcRepo = true; } // args))
(drv: drv.override ({ srcRepo = true; withSQLite3 = true; withWebP = true; } // args))

(
drv: drv.overrideAttrs (
Expand Down Expand Up @@ -82,19 +82,17 @@ let
}
);

emacsGit = mkGitEmacs "emacs-git" ./repos/emacs/emacs-master.json { withSQLite3 = true; withWebP = true; };
emacsGit = mkGitEmacs "emacs-git" ./repos/emacs/emacs-master.json { };

emacsNativeComp = super.emacsNativeComp or (mkGitEmacs "emacs-native-comp" ./repos/emacs/emacs-unstable.json { nativeComp = true; });

emacsGitNativeComp = mkGitEmacs "emacs-git-native-comp" ./repos/emacs/emacs-master.json {
withSQLite3 = true;
withWebP = true;
nativeComp = true;
};

emacsPgtk = mkPgtkEmacs "emacs-pgtk" ./repos/emacs/emacs-master.json { withSQLite3 = true; withGTK3 = true; };
emacsPgtk = mkPgtkEmacs "emacs-pgtk" ./repos/emacs/emacs-master.json { withGTK3 = true; };

emacsPgtkNativeComp = mkPgtkEmacs "emacs-pgtk-native-comp" ./repos/emacs/emacs-master.json { nativeComp = true; withSQLite3 = true; withGTK3 = true; };
emacsPgtkNativeComp = mkPgtkEmacs "emacs-pgtk-native-comp" ./repos/emacs/emacs-master.json { nativeComp = true; withGTK3 = true; };

emacsUnstable = (mkGitEmacs "emacs-unstable" ./repos/emacs/emacs-unstable.json { });

Expand Down

0 comments on commit ca91042

Please sign in to comment.