From ef72e19b275b9c272bcea7ea0ec723a639a0533b Mon Sep 17 00:00:00 2001 From: Oliver Charles Date: Tue, 3 Sep 2013 22:02:07 +0100 Subject: [PATCH] ghc-mod: Wrap to call ghc-get-packages.sh first --- pkgs/development/libraries/haskell/ghc-mod/default.nix | 9 +++++++++ pkgs/lib/maintainers.nix | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/haskell/ghc-mod/default.nix b/pkgs/development/libraries/haskell/ghc-mod/default.nix index b90944816d68..0f60a650d367 100644 --- a/pkgs/development/libraries/haskell/ghc-mod/default.nix +++ b/pkgs/development/libraries/haskell/ghc-mod/default.nix @@ -25,6 +25,14 @@ cabal.mkDerivation (self: { cd .. ensureDir "$out/share/emacs" mv $pname-$version emacs/site-lisp + mv $out/bin/ghc-mod $out/ghc-mod + cat - > $out/bin/ghc-mod <