
Come to think of it, shouldn't ghc include this, instead of everyone creating their own shell scripts by hand? I don't think so. This is usually done in the userland -- at least in GNU+Linux distributions. More to the point, various distribution methods already include such
#7152: Add flag to configure that skips overwriting of symlinks on install -------------------------------------+------------------------------------- Reporter: tibbe | Owner: | thoughtpolice Type: feature request | Status: new Priority: normal | Milestone: 7.12.1 Component: Build System | Version: 7.4.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by thomie): See also this thread: https://mail.haskell.org/pipermail/glasgow-haskell- users/2015-July/026020.html "simultaneous ghc versions", which [http://www.haskell.org/pipermail/glasgow-haskell-users/ concluded] with: things
(e.g. NixOS, Debian's alternatives system, MacPorts' "port select") plus there are various mechanisms for implementing this on an ad-hoc basis (GNU stow, environment modules, etc.). Downstream packages implementing their own versions of this except speicifically on an opt-in basis (e.g. configure option) tend to interfere with these and complicate inclusion into existing package systems.
-- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/7152#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler