Merge pull request #7351 from Forkk/fix/cask-init

cask: fix issue with 'cask init' command
This commit is contained in:
Jascha Geerds 2015-04-13 11:31:36 +02:00
commit 03b87e7243

View File

@ -22,6 +22,11 @@ stdenv.mkDerivation rec {
install -d "$out/bin"
install bin/cask "$out/bin"
# We also need to install cask's templates in order for 'cask
# init' to work properly.
install -d "$out/templates"
install templates/* "$out/templates"
# In order to work with cask's hard coded file paths (during bootstrap),
# we have to create these links.
ln -s "$out/share/emacs/site-lisp/"* "$out"