diff options
author | Yury G. Kudryashov <urkud@urkud.name> | 2018-04-29 22:46:16 -0400 |
---|---|---|
committer | Yury G. Kudryashov <urkud@urkud.name> | 2018-04-29 23:36:43 -0400 |
commit | d207e043d3315330e5011be63783a335f645c9d0 (patch) | |
tree | 8324025327d8ff3e8837f5fb596e75a12e79f886 /pkgs/tools/graphics/asymptote | |
parent | cf194a93115ac1354f0e49f49c1f44aac74b3d6d (diff) |
asymptote: move Emacs Lisp files to $out/share/emacs/site-lisp/asymptote/
This way, emacs can find the 'asymptote' mode.
Diffstat (limited to 'pkgs/tools/graphics/asymptote')
-rw-r--r-- | pkgs/tools/graphics/asymptote/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/graphics/asymptote/default.nix b/pkgs/tools/graphics/asymptote/default.nix index 7337cd227a2e..01ddd6ba7fc5 100644 --- a/pkgs/tools/graphics/asymptote/default.nix +++ b/pkgs/tools/graphics/asymptote/default.nix @@ -51,7 +51,9 @@ stdenv.mkDerivation { rmdir $out/share/info/asymptote rm $out/share/info/dir - rm -rf "$out"/share/texmf + rm -rfv "$out"/share/texmf + mkdir -pv "$out"/share/emacs/site-lisp/${s.name} + mv -v "$out"/share/asymptote/*.el "$out"/share/emacs/site-lisp/${s.name} ''; enableParallelBuilding = true; |