Commit 55691ce2183c

Vincent Demeester <vincent@sbr.pm>
2018-09-27 11:46:33
emacs: remove unused `builder.nix` file
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 62dce60
Changed files (1)
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;
-  };
-}