nixpkgs/pkgs/applications/editors/emacs-modes/haskell/default.nix
Peter Simons c4b77fbd37 haskell-mode: updated to version 2.4
Pass emacs package to this expression so that we can byte-compile the
lisp files.

svn path=/nixpkgs/trunk/; revision=12301
2008-07-07 11:49:57 +00:00

18 lines
402 B
Nix

{stdenv, fetchurl, emacs}:
stdenv.mkDerivation rec
{
name = "haskell-mode-2.4";
src = fetchurl
{
url = "http://www.iro.umontreal.ca/~monnier/elisp/${name}.tar.gz";
sha256 = "1s2dd0clwm0qaq7z43vxx437l48c88yrd3z1a6qhbq8aak9y8jc5";
};
buildInputs = [emacs];
installCommand =
''
ensureDir "$out/share/emacs/site-lisp"
cp *.el *.elc *.hs "$out/share/emacs/site-lisp/"
'';
}