mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
588fe10bae
this was due to an override `emacsPackages = emacsPackagesNg` on my
system.
5bede1a252
12 lines
351 B
Nix
12 lines
351 B
Nix
{ emacsPackagesNg, writeScriptBin }:
|
|
let
|
|
|
|
emacs = emacsPackagesNg.emacsWithPackages (epkgs: [ epkgs.cask-package-toolset ]);
|
|
cpt = emacsPackagesNg.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 -- "$@"
|
|
''
|