about summary refs log tree commit diff
path: root/pkgs/development/tools/haskell
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2017-07-04 15:21:55 +0200
committerPeter Simons <simons@cryp.to>2017-07-04 15:50:26 +0200
commitb683a15d17cdcabf54b911ad2f60670fda7ca37c (patch)
treee9e23bb25f17d24574f2243b71e971872db0fc6f /pkgs/development/tools/haskell
parentcafed1a84c7e9f4592a76b384883b1b6b4c94379 (diff)
downloadnixlib-b683a15d17cdcabf54b911ad2f60670fda7ca37c.tar
nixlib-b683a15d17cdcabf54b911ad2f60670fda7ca37c.tar.gz
nixlib-b683a15d17cdcabf54b911ad2f60670fda7ca37c.tar.bz2
nixlib-b683a15d17cdcabf54b911ad2f60670fda7ca37c.tar.lz
nixlib-b683a15d17cdcabf54b911ad2f60670fda7ca37c.tar.xz
nixlib-b683a15d17cdcabf54b911ad2f60670fda7ca37c.tar.zst
nixlib-b683a15d17cdcabf54b911ad2f60670fda7ca37c.zip
haskell-tinc: don't hard-code the version of GHC used by this tool
We don't want to re-compile tinc just to change the GHC environment used for
building, i.e. when running inside of nix-shell. Instead, find "ghc" in $PATH.
Diffstat (limited to 'pkgs/development/tools/haskell')
-rw-r--r--pkgs/development/tools/haskell/tinc/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/development/tools/haskell/tinc/default.nix b/pkgs/development/tools/haskell/tinc/default.nix
index 28712a57ae11..5d5db88a2168 100644
--- a/pkgs/development/tools/haskell/tinc/default.nix
+++ b/pkgs/development/tools/haskell/tinc/default.nix
@@ -3,7 +3,7 @@
 , hpack, hspec, HUnit, language-dot, mockery, parsec, process
 , QuickCheck, safe, stdenv, temporary, time, transformers, unix
 , unix-compat, with-location, yaml, fetchFromGitHub
-, ghc, cabal2nix, cabal-install, makeWrapper
+, cabal2nix, cabal-install, makeWrapper
 }:
 mkDerivation {
   pname = "tinc";
@@ -30,7 +30,6 @@ mkDerivation {
   postInstall = ''
     source ${makeWrapper}/nix-support/setup-hook
     wrapProgram $out/bin/tinc \
-      --prefix PATH : '${ghc}/bin' \
       --prefix PATH : '${cabal2nix}/bin' \
       --prefix PATH : '${cabal-install}/bin'
   '';