cask: fix incorrect exec
This commit is contained in:
parent
b07deda268
commit
e805874891
@ -1,11 +1,10 @@
|
||||
{ emacsPackagesNg, writeScriptBin }:
|
||||
{ emacsPackages, writeScriptBin }:
|
||||
let
|
||||
|
||||
emacs = emacsPackagesNg.emacsWithPackages (epkgs: [ epkgs.cask-package-toolset ]);
|
||||
cpt = emacsPackagesNg.cask-package-toolset;
|
||||
cask = emacsPackages.cask;
|
||||
|
||||
in writeScriptBin "cask" ''
|
||||
#!/bin/sh
|
||||
|
||||
exec ${emacs}/bin/emacs --script ${cpt}/share/emacs/site-lisp/elpa/cask-package-toolset-${cpt.version}/cask-package-toolset.el -- "$@"
|
||||
exec ${cask}/bin/cask $@
|
||||
''
|
||||
|
Loading…
x
Reference in New Issue
Block a user