cask: fix evaluation error

this was due to an override `emacsPackages = emacsPackagesNg` on my
system.

5bede1a252
This commit is contained in:
Herwig Hochleitner 2018-02-16 01:15:37 +01:00
parent 8ac63bd82c
commit 588fe10bae

View File

@ -1,8 +1,8 @@
{ emacsPackages, writeScriptBin }:
{ emacsPackagesNg, writeScriptBin }:
let
emacs = emacsPackages.emacsWithPackages (epkgs: [ epkgs.cask-package-toolset ]);
cpt = emacsPackages.cask-package-toolset;
emacs = emacsPackagesNg.emacsWithPackages (epkgs: [ epkgs.cask-package-toolset ]);
cpt = emacsPackagesNg.cask-package-toolset;
in writeScriptBin "cask" ''
#!/bin/sh