5d9dfc1e60
install and fixup phases. You can just override installPhase. svn path=/nixpkgs/trunk/; revision=12787
18 lines
405 B
Nix
18 lines
405 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];
|
|
|
|
installPhase = ''
|
|
ensureDir "$out/share/emacs/site-lisp"
|
|
cp *.el *.elc *.hs "$out/share/emacs/site-lisp/"
|
|
'';
|
|
}
|