Skip to content

Commit 99a1644

Browse files
committed
update use of emacs-overlay to newer attribute names
Signed-off-by: Psionik K <[email protected]>
1 parent 7d2275f commit 99a1644

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/flake.nix

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,21 +44,22 @@
4444
let
4545

4646
# instantaite nixpkgs with the emacs overlay applied.
47-
# to explore available attributes, you can instantiate nixpkgs with the emacs overlay in a nix repl:
48-
# pkgs = import (builtins.getFlake "nixpkgs") { system = builtins.currentSystem; overlays = [ (builtins.getFlake ("emacs-overlay")).overlay ];}
49-
# pkgs.emacs will tab complete
5047
pkgs = import nixpkgs {
5148
inherit system;
5249
overlays = [ emacs-overlay.overlay ];
5350
};
5451

55-
# List of Emacsen to generate development shells for
52+
# List of Emacsen to generate development shells for.
5653
emacsPackages = [
57-
"emacsUnstable"
58-
"emacsGit"
54+
"emacs-unstable"
55+
"emacs-git"
5956
"emacs28"
57+
"emacs29"
6058
"emacs"
6159
];
60+
# To explore available attributes, you can instantiate nixpkgs with the emacs overlay in a nix repl:
61+
# pkgs = import (builtins.getFlake "nixpkgs") { system = builtins.currentSystem; overlays = [ (builtins.getFlake ("emacs-overlay")).overlay ];}
62+
# pkgs.emacs will tab complete. pkgs.emacs.version etc describe what's inside.
6263

6364
# let's have a development shell per Emacs!
6465
devShells = pkgs.lib.genAttrs emacsPackages (emacsPkg:
@@ -113,6 +114,6 @@
113114
# Augment the devShells with a default so that `nix develop` knows what
114115
# to do. Run `nix flake show` to see the results. Per-system,
115116
# per-Emacs, we have a development environment avaialble.
116-
devShells = devShells // { default = devShells.emacsGit; };
117+
devShells = devShells // { default = devShells.emacs-git; };
117118
});
118119
}

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
strategy:
4242
matrix:
4343
os: [ubuntu-latest, macos-latest]
44-
emacsPkg: [ emacs, emacsGit, ]
44+
emacsPkg: [ emacs, emacs-git, ]
4545
runs-on: ${{ matrix.os }}
4646
# If you update steps, be sure to update the approved actions list in the
4747
# manual and in your repositories!

0 commit comments

Comments
 (0)