Compare commits

..

No commits in common. "8e643d23c2804f2a8883adba40dcd238e527bfa8" and "89b8619b12bbd876b1958403c8afb22cfec6474e" have entirely different histories.

3 changed files with 6 additions and 10 deletions

View File

@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- name: Set up Nix
uses: cachix/install-nix-action@v31
uses: cachix/install-nix-action@v27
- name: Authenticate with Cachix
uses: cachix/cachix-action@v15

View File

@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- name: Set up Nix
uses: cachix/install-nix-action@v31
uses: cachix/install-nix-action@v27
- name: Update flake
run: nix flake update

View File

@ -34,22 +34,18 @@
emacs-overlay.overlays.package
];
};
emacsDarwin = (pkgs.emacs-unstable).overrideAttrs (_: {
patched-emacs = (pkgs.emacs-git).overrideAttrs (o: {
patches = [
"${emacs-plus}/patches/emacs-30/round-undecorated-frame.patch"
"${emacs-plus}/patches/emacs-30/system-appearance.patch"
"${emacs-plus}/patches/emacs-31/round-undecorated-frame.patch"
"${emacs-plus}/patches/emacs-31/system-appearance.patch"
];
});
emacsLinux = pkgs.emacs-unstable-pgtk;
emacsPkg = if pkgs.stdenv.isDarwin then emacsDarwin else emacsLinux;
in
{
defaultPackage = pkgs.emacsWithPackagesFromUsePackage {
config = "${emacs-config}/init.org";
package = emacsPkg;
package = patched-emacs;
defaultInitFile = true;
alwaysEnsure = true;
alwaysTangle = true;