Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 627446 - dev-haskell/stack-bin needs a symlink from /usr/bin/stack to /usr/bin/stack-bin
Summary: dev-haskell/stack-bin needs a symlink from /usr/bin/stack to /usr/bin/stack-bin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-10 10:15 UTC by anonymous
Modified: 2017-08-26 11:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description anonymous 2017-08-10 10:15:23 UTC
Because stack scripts depend on the existence of stack, the lack of stack executable is inconvenient.

If I replaced stack with stack-bin in stack scripts, the scripts will not be portable across different gentoo machines or different linux distributions.
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2017-08-26 08:05:21 UTC
Which stack scripts you are talking about? The manually written ones?

I'd prefer dev-haskell/stack and dev-haskell/stack-bin to be installable in parallel by default (similar to firefox/firefox-bin).

I can add an USE=symlink to dev-haskell/stack-bin to allow substitution
if it would be file for you.
Comment 2 anonymous 2017-08-26 10:24:51 UTC
Yeah, that'd be cool.
If USE=symlink was set, stack-bin should not co-exist with stack.
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2017-08-26 11:34:05 UTC
Added USE=symlink and blocked against dev-haskell/stack as:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=568894d9234df5ea6c041ca28f3f58461e41ecc4
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fdd4fa407378b296b28396fcbbab34669bd3bb9

Thanks for the report!