diff options
author | Vincent Ambo <tazjin@google.com> | 2020-03-08T23·17+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-03-08T23·20+0000 |
commit | 65e533431acd89473c58386b4e30013fab835a16 (patch) | |
tree | a7ff7f8c56cd80f2368bf987a7e35a4458c0228d | |
parent | 6cbcadc2e4340f18fd183eb7f84a74377861135b (diff) |
refactor: emacsPackagesNg -> emacsPackages r/593
The former is now just an alias for the latter anyways.
-rw-r--r-- | overrides/writeElispBin/default.nix | 4 | ||||
-rw-r--r-- | third_party/default.nix | 4 | ||||
-rw-r--r-- | third_party/emacs/carp-mode.nix | 2 | ||||
-rw-r--r-- | third_party/emacs/rcirc/default.nix | 2 | ||||
-rw-r--r-- | tools/emacs-pkgs/dottime/default.nix | 2 | ||||
-rw-r--r-- | tools/emacs-pkgs/nix-util/default.nix | 2 | ||||
-rw-r--r-- | tools/emacs-pkgs/term-switcher/default.nix | 2 | ||||
-rw-r--r-- | tools/emacs/default.nix | 4 |
8 files changed, 11 insertions, 11 deletions
diff --git a/overrides/writeElispBin/default.nix b/overrides/writeElispBin/default.nix index 8fd61f39487d..f2c81a2c0226 100644 --- a/overrides/writeElispBin/default.nix +++ b/overrides/writeElispBin/default.nix @@ -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 diff --git a/third_party/default.nix b/third_party/default.nix index c9c95367b383..69b5de38c878 100644 --- a/third_party/default.nix +++ b/third_party/default.nix @@ -39,8 +39,8 @@ let dockerTools emacs26 emacs26-nox - emacsPackagesNg - emacsPackagesNgGen + emacsPackages + emacsPackagesGen fetchFromGitHub fetchurl fetchzip diff --git a/third_party/emacs/carp-mode.nix b/third_party/emacs/carp-mode.nix index 9fab1f866327..0ddf13654229 100644 --- a/third_party/emacs/carp-mode.nix +++ b/third_party/emacs/carp-mode.nix @@ -1,7 +1,7 @@ { pkgs, ... }: with pkgs; -with emacsPackagesNg; +with emacsPackages; melpaBuild rec { pname = "carp-mode"; diff --git a/third_party/emacs/rcirc/default.nix b/third_party/emacs/rcirc/default.nix index a03ccfcaa360..9d22c7cd8663 100644 --- a/third_party/emacs/rcirc/default.nix +++ b/third_party/emacs/rcirc/default.nix @@ -1,6 +1,6 @@ { pkgs, ... }: -pkgs.emacsPackagesNg.trivialBuild rec { +pkgs.emacsPackages.trivialBuild rec { pname = "rcirc"; version = "1"; src = ./rcirc.el; diff --git a/tools/emacs-pkgs/dottime/default.nix b/tools/emacs-pkgs/dottime/default.nix index 97b558107093..633aad187e68 100644 --- a/tools/emacs-pkgs/dottime/default.nix +++ b/tools/emacs-pkgs/dottime/default.nix @@ -1,6 +1,6 @@ { pkgs, ... }: -pkgs.emacsPackagesNg.trivialBuild rec { +pkgs.emacsPackages.trivialBuild rec { pname = "dottime"; version = "1.0"; src = ./dottime.el; diff --git a/tools/emacs-pkgs/nix-util/default.nix b/tools/emacs-pkgs/nix-util/default.nix index 57c18cf8d7bb..2356ad75f2fe 100644 --- a/tools/emacs-pkgs/nix-util/default.nix +++ b/tools/emacs-pkgs/nix-util/default.nix @@ -1,6 +1,6 @@ { pkgs, ... }: -pkgs.emacsPackagesNg.trivialBuild rec { +pkgs.emacsPackages.trivialBuild rec { pname = "nix-util"; version = "1.0"; src = ./nix-util.el; diff --git a/tools/emacs-pkgs/term-switcher/default.nix b/tools/emacs-pkgs/term-switcher/default.nix index b1f1a4786135..0c5e4c17cd18 100644 --- a/tools/emacs-pkgs/term-switcher/default.nix +++ b/tools/emacs-pkgs/term-switcher/default.nix @@ -1,6 +1,6 @@ { pkgs, ... }: -with pkgs.emacsPackagesNg; +with pkgs.emacsPackages; melpaBuild rec { pname = "term-switcher"; diff --git a/tools/emacs/default.nix b/tools/emacs/default.nix index 728dd5e6af9d..c980c678d625 100644 --- a/tools/emacs/default.nix +++ b/tools/emacs/default.nix @@ -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 ]; |