cask: use emacsPackagesNg instead of emacsPackages

This commit is contained in:
Herwig Hochleitner 2019-04-11 05:47:30 +02:00
parent a97fa8a299
commit 4bdd577aff

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, python, emacsPackages }:
{ stdenv, fetchurl, python, emacsPackagesNg }:
stdenv.mkDerivation rec {
name = "cask-${version}";
@ -10,8 +10,10 @@ stdenv.mkDerivation rec {
};
doCheck = true;
buildInputs = with emacsPackages; [ s dash f ansi ecukes servant ert-runner el-mock
noflet ert-async shell-split-string git package-build ];
buildInputs = with emacsPackagesNg; [
s f dash ansi ecukes servant ert-runner el-mock
noflet ert-async shell-split-string git package-build
];
buildPhase = ''
emacs --batch -L . -f batch-byte-compile cask.el cask-cli.el
'';
@ -42,5 +44,5 @@ stdenv.mkDerivation rec {
maintainers = [ maintainers.flexw ];
};
nativeBuildInputs = [ emacsPackages.emacs python ];
nativeBuildInputs = [ emacsPackagesNg.emacs python ];
}