Compare commits

...

3 Commits

Author SHA1 Message Date
8e643d23c2 emacs-unstable is emacs-30
Some checks failed
Build and Cache with Cachix / build (push) Has been cancelled
2025-08-24 16:37:02 +02:00
1f969c1458 Only patch for macos and unstable over git 2025-08-24 16:31:04 +02:00
09448b75a9 Update install-nix-action version 2025-08-24 13:34:32 +02:00
3 changed files with 10 additions and 6 deletions

View File

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

View File

@ -34,18 +34,22 @@
emacs-overlay.overlays.package
];
};
patched-emacs = (pkgs.emacs-git).overrideAttrs (o: {
emacsDarwin = (pkgs.emacs-unstable).overrideAttrs (_: {
patches = [
"${emacs-plus}/patches/emacs-31/round-undecorated-frame.patch"
"${emacs-plus}/patches/emacs-31/system-appearance.patch"
"${emacs-plus}/patches/emacs-30/round-undecorated-frame.patch"
"${emacs-plus}/patches/emacs-30/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 = patched-emacs;
package = emacsPkg;
defaultInitFile = true;
alwaysEnsure = true;
alwaysTangle = true;