refactor: emacsPackagesNg -> emacsPackages
The former is now just an alias for the latter anyways.
This commit is contained in:
parent
6cbcadc2e4
commit
65e533431a
8 changed files with 11 additions and 11 deletions
|
@ -3,10 +3,10 @@
|
|||
{ name, src, deps ? (_: []), emacs ? pkgs.emacs26-nox }:
|
||||
|
||||
let
|
||||
inherit (pkgs) emacsPackagesNg emacsPackagesNgGen writeTextFile;
|
||||
inherit (pkgs) emacsPackages emacsPackagesGen writeTextFile;
|
||||
inherit (builtins) isString toFile;
|
||||
|
||||
finalEmacs = (emacsPackagesNgGen emacs).emacsWithPackages deps;
|
||||
finalEmacs = (emacsPackagesGen emacs).emacsWithPackages deps;
|
||||
|
||||
srcFile = if isString src
|
||||
then toFile "${name}.el" src
|
||||
|
|
4
third_party/default.nix
vendored
4
third_party/default.nix
vendored
|
@ -39,8 +39,8 @@ let
|
|||
dockerTools
|
||||
emacs26
|
||||
emacs26-nox
|
||||
emacsPackagesNg
|
||||
emacsPackagesNgGen
|
||||
emacsPackages
|
||||
emacsPackagesGen
|
||||
fetchFromGitHub
|
||||
fetchurl
|
||||
fetchzip
|
||||
|
|
2
third_party/emacs/carp-mode.nix
vendored
2
third_party/emacs/carp-mode.nix
vendored
|
@ -1,7 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
with pkgs;
|
||||
with emacsPackagesNg;
|
||||
with emacsPackages;
|
||||
|
||||
melpaBuild rec {
|
||||
pname = "carp-mode";
|
||||
|
|
2
third_party/emacs/rcirc/default.nix
vendored
2
third_party/emacs/rcirc/default.nix
vendored
|
@ -1,6 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
pkgs.emacsPackagesNg.trivialBuild rec {
|
||||
pkgs.emacsPackages.trivialBuild rec {
|
||||
pname = "rcirc";
|
||||
version = "1";
|
||||
src = ./rcirc.el;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
pkgs.emacsPackagesNg.trivialBuild rec {
|
||||
pkgs.emacsPackages.trivialBuild rec {
|
||||
pname = "dottime";
|
||||
version = "1.0";
|
||||
src = ./dottime.el;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
pkgs.emacsPackagesNg.trivialBuild rec {
|
||||
pkgs.emacsPackages.trivialBuild rec {
|
||||
pname = "nix-util";
|
||||
version = "1.0";
|
||||
src = ./nix-util.el;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
with pkgs.emacsPackagesNg;
|
||||
with pkgs.emacsPackages;
|
||||
|
||||
melpaBuild rec {
|
||||
pname = "term-switcher";
|
||||
|
|
|
@ -10,11 +10,11 @@
|
|||
{ depot, ... }:
|
||||
|
||||
with depot;
|
||||
with third_party.emacsPackagesNg;
|
||||
with third_party.emacsPackages;
|
||||
with third_party.emacs;
|
||||
|
||||
let
|
||||
emacsWithPackages = (third_party.emacsPackagesNgGen third_party.emacs26).emacsWithPackages;
|
||||
emacsWithPackages = (third_party.emacsPackagesGen third_party.emacs26).emacsWithPackages;
|
||||
|
||||
# $PATH for binaries that need to be available to Emacs
|
||||
emacsBinPath = lib.makeBinPath [ third_party.telega ];
|
||||
|
|
Loading…
Reference in a new issue