summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorJascha Geerds <jg@ekby.de>2015-04-13 11:31:36 +0200
committerJascha Geerds <jg@ekby.de>2015-04-13 11:31:36 +0200
commit03b87e72435b11a411fb145a4150c9e039011c00 (patch)
treedfd138e563d064f52dfbdf0afea370ec4bf7da0c /pkgs/applications/editors
parent4bf8c805b1318af56d7f96b0cf9d81cec5f8fb60 (diff)
parentd385fd9111cc133784e0c31b1a5cfeea8a1c6668 (diff)
downloadnixlib-03b87e72435b11a411fb145a4150c9e039011c00.tar
nixlib-03b87e72435b11a411fb145a4150c9e039011c00.tar.gz
nixlib-03b87e72435b11a411fb145a4150c9e039011c00.tar.bz2
nixlib-03b87e72435b11a411fb145a4150c9e039011c00.tar.lz
nixlib-03b87e72435b11a411fb145a4150c9e039011c00.tar.xz
nixlib-03b87e72435b11a411fb145a4150c9e039011c00.tar.zst
nixlib-03b87e72435b11a411fb145a4150c9e039011c00.zip
Merge pull request #7351 from Forkk/fix/cask-init
cask: fix issue with 'cask init' command
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/emacs-modes/cask/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/editors/emacs-modes/cask/default.nix b/pkgs/applications/editors/emacs-modes/cask/default.nix
index 90c32f0e2bc4..7d987e73b913 100644
--- a/pkgs/applications/editors/emacs-modes/cask/default.nix
+++ b/pkgs/applications/editors/emacs-modes/cask/default.nix
@@ -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"