refactor: emacsPackagesNg -> emacsPackages

The former is now just an alias for the latter anyways.
This commit is contained in:
Vincent Ambo 2020-03-08 23:17:01 +00:00
parent 6cbcadc2e4
commit 65e533431a
8 changed files with 11 additions and 11 deletions

View file

@ -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

View file

@ -39,8 +39,8 @@ let
dockerTools
emacs26
emacs26-nox
emacsPackagesNg
emacsPackagesNgGen
emacsPackages
emacsPackagesGen
fetchFromGitHub
fetchurl
fetchzip

View file

@ -1,7 +1,7 @@
{ pkgs, ... }:
with pkgs;
with emacsPackagesNg;
with emacsPackages;
melpaBuild rec {
pname = "carp-mode";

View file

@ -1,6 +1,6 @@
{ pkgs, ... }:
pkgs.emacsPackagesNg.trivialBuild rec {
pkgs.emacsPackages.trivialBuild rec {
pname = "rcirc";
version = "1";
src = ./rcirc.el;

View file

@ -1,6 +1,6 @@
{ pkgs, ... }:
pkgs.emacsPackagesNg.trivialBuild rec {
pkgs.emacsPackages.trivialBuild rec {
pname = "dottime";
version = "1.0";
src = ./dottime.el;

View file

@ -1,6 +1,6 @@
{ pkgs, ... }:
pkgs.emacsPackagesNg.trivialBuild rec {
pkgs.emacsPackages.trivialBuild rec {
pname = "nix-util";
version = "1.0";
src = ./nix-util.el;

View file

@ -1,6 +1,6 @@
{ pkgs, ... }:
with pkgs.emacsPackagesNg;
with pkgs.emacsPackages;
melpaBuild rec {
pname = "term-switcher";

View file

@ -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 ];