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