mirror of
https://github.com/larstvei/emacs-flake.git
synced 2025-08-30 08:40:12 +00:00
Compare commits
3 Commits
89b8619b12
...
8e643d23c2
Author | SHA1 | Date | |
---|---|---|---|
8e643d23c2 | |||
1f969c1458 | |||
09448b75a9 |
2
.github/workflows/cachix.yml
vendored
2
.github/workflows/cachix.yml
vendored
@ -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
|
||||
|
2
.github/workflows/update-flake.yml
vendored
2
.github/workflows/update-flake.yml
vendored
@ -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
|
||||
|
12
flake.nix
12
flake.nix
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user