Skip to content

Commit 7acb672

Browse files
committed
dev: shell.nix: add emacs 29, 30.0.50, & CI versions
And default to 29.1 (the new stable release of Emacs).
1 parent 261f94c commit 7acb672

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

shell.nix

+10-3
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,15 @@
1818
# nix-shell --argstr emacs 27.2 # 27.2
1919
# nix-shell --argstr emacs 28.1 # 28.1
2020
# nix-shell --argstr emacs 28.2 # 28.2
21-
# nix-shell --argstr emacs head # 29.0.50
21+
# nix-shell --argstr emacs 29.1 # 29.1
22+
# nix-shell --argstr emacs head # 30.0.50
2223
# nix-shell --argstr emacs ci-26.3 # 26.3 (barebones; no GUI)
2324
# nix-shell --argstr emacs ci-27.1 # 27.1 (barebones; no GUI)
2425
# nix-shell --argstr emacs ci-27.2 # 27.2 (barebones; no GUI)
25-
# nix-shell --argstr emacs ci-HEAD # 29.0.50 (barebones; no GUI)
26+
# nix-shell --argstr emacs ci-28.1 # 28.1 (barebones; no GUI)
27+
# nix-shell --argstr emacs ci-28.2 # 28.2 (barebones; no GUI)
28+
# nix-shell --argstr emacs ci-29.1 # 29.1 (barebones; no GUI)
29+
# nix-shell --argstr emacs ci-HEAD # 30.0.50 (barebones; no GUI)
2630

2731
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/22.05.tar.gz")
2832
{
@@ -37,10 +41,11 @@
3741
emacs27-1 = (import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/11264a390b197b80edeffac6f20e582f3ea318bd.tar.gz") {}).emacs;
3842
emacs27-2 = (import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/4c87cb87a2db6b9eb43541c1cf83f2a2f725fa25.tar.gz") {}).emacs;
3943
emacs28-1 = (import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/54e795706d9fa90004ed1274af639a717f04a2aa.tar.gz") {}).emacs;
44+
emacs29-1 = (import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/c434383f2a4866a7c674019b4cdcbfc55db3c4ab.tar.gz") {}).emacs29;
4045
})
4146
];
4247
}
43-
, emacs ? "28.2"
48+
, emacs ? "29.1"
4449
, emacsdir ? "$(pwd)"
4550
, doomdir ? ""
4651
, doomlocaldir ? "$EMACSDIR/.local" }:
@@ -50,12 +55,14 @@ let emacsPkg = (if emacs == "26.3" then pkgs.emacs26
5055
else if emacs == "27.2" then pkgs.emacs27-2
5156
else if emacs == "28.1" then pkgs.emacs28-1
5257
else if emacs == "28.2" then pkgs.emacs
58+
else if emacs == "29.1" then pkgs.emacs29-1
5359
else if emacs == "head" then pkgs.emacsGit
5460
else if emacs == "ci-26.3" then pkgs.emacs-26-3
5561
else if emacs == "ci-27.1" then pkgs.emacs-27-1
5662
else if emacs == "ci-27.2" then pkgs.emacs-27-2
5763
else if emacs == "ci-28.1" then pkgs.emacs-28-1
5864
else if emacs == "ci-28.2" then pkgs.emacs-28-2
65+
else if emacs == "ci-29.1" then pkgs.emacs-29-1
5966
else if emacs == "ci-head" then pkgs.emacs-snapshot
6067
else pkgs.emacs);
6168
in pkgs.stdenv.mkDerivation {

0 commit comments

Comments
 (0)