commit 55691ce2183cc9c6324b87eed9728795823b0b9f
parent 62dce601206f9d03f57f9c1e27e09bc23d513b2d
Author: Vincent Demeester <vincent@sbr.pm>
Date: Thu, 27 Sep 2018 11:46:33 +0200
emacs: remove unused `builder.nix` file
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 0 insertions(+), 32 deletions(-)
diff --git a/emacs/builder.nix b/emacs/builder.nix
@@ -1,32 +0,0 @@
-{ stdenv
-, emacs
-, name
-, src
-, buildInputs ? []
-, patches ? []
-}:
-
-stdenv.mkDerivation {
- name = name;
- src = src;
- unpackCmd = ''
- test -f "${src}" && mkdir el && cp -p ${src} el/${name}
- '';
- patches = patches;
- buildInputs = [ emacs ] ++ buildInputs;
- buildPhase = ''
- ARGS=$(find ${stdenv.lib.concatStrings
- (builtins.map (arg: arg + "/share/emacs/site-lisp ") buildInputs)} \
- -type d -exec echo -L {} \;)
- ${emacs}/bin/emacs -Q -nw -L . $ARGS --batch -f batch-byte-compile *.el
- '';
- installPhase = ''
- mkdir -p $out/share/emacs/site-lisp
- install *.el* $out/share/emacs/site-lisp
- '';
- meta = {
- description = "Emacs projects from the Internet that just compile .el files";
- homepage = http://www.emacswiki.org;
- platforms = stdenv.lib.platforms.all;
- };
-}