summary refs log tree commit diff
path: root/pkgs/top-level/haskell-packages.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2012-03-25 19:33:48 +0000
committerPeter Simons <simons@cryp.to>2012-03-25 19:33:48 +0000
commita058381657cb9173867aa1846cc4dbf5b61916e1 (patch)
treec58e404cb9e295759474806fa42d7d28cb9179d1 /pkgs/top-level/haskell-packages.nix
parent48ce33903a0af6ed7acb566ff4be4069009a65c1 (diff)
downloadnixpkgs-a058381657cb9173867aa1846cc4dbf5b61916e1.tar
nixpkgs-a058381657cb9173867aa1846cc4dbf5b61916e1.tar.gz
nixpkgs-a058381657cb9173867aa1846cc4dbf5b61916e1.tar.bz2
nixpkgs-a058381657cb9173867aa1846cc4dbf5b61916e1.tar.lz
nixpkgs-a058381657cb9173867aa1846cc4dbf5b61916e1.tar.xz
nixpkgs-a058381657cb9173867aa1846cc4dbf5b61916e1.tar.zst
nixpkgs-a058381657cb9173867aa1846cc4dbf5b61916e1.zip
haskell-ghc-mod: updated to version 1.10.11
This expression can now be generated by cabal2nix. Note that it doesn't
propagate Emacs and haskell-mode, though, these dependencies must be
installed by the user in addition to ghc-mod.

To active ghc-mod, add the following snippet to your ~/.emacs file:

  (autoload 'ghc-init "ghc" nil t)
  (add-hook 'haskell-mode-hook (lambda () (ghc-init)))

svn path=/nixpkgs/trunk/; revision=33410
Diffstat (limited to 'pkgs/top-level/haskell-packages.nix')
-rw-r--r--pkgs/top-level/haskell-packages.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix
index 9da648faddb..fe02ffcffe3 100644
--- a/pkgs/top-level/haskell-packages.nix
+++ b/pkgs/top-level/haskell-packages.nix
@@ -706,7 +706,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
   ghcEvents = callPackage ../development/libraries/haskell/ghc-events {};
 
   ghcMod = callPackage ../development/libraries/haskell/ghc-mod {
-    emacsPackages = pkgs.emacs23Packages;
+    inherit (pkgs) emacs;
   };
 
   ghcMtl = callPackage ../development/libraries/haskell/ghc-mtl {};