forked from mirrors/nixpkgs
5bede1a252
cask is a build tool for emacs packages cc @ttuegel @mdorman
12 lines
345 B
Nix
12 lines
345 B
Nix
{ emacsPackages, writeScriptBin }:
|
|
let
|
|
|
|
emacs = emacsPackages.emacsWithPackages (epkgs: [ epkgs.cask-package-toolset ]);
|
|
cpt = emacsPackages.cask-package-toolset;
|
|
|
|
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 -- "$@"
|
|
''
|