Package Details: stack-static 2.7.5-1

Git Clone URL: https://aur.archlinux.org/stack-static.git (read-only, click to copy)
Package Base: stack-static
Description: The Haskell Tool Stack (linked statically)
Upstream URL: https://github.com/commercialhaskell/stack
Licenses: custom:BSD3
Conflicts: haskell-stack, stack, stack-bin
Provides: stack
Replaces: haskell-stack, stack, stack-bin
Submitter: simonfxr
Maintainer: simonfxr
Last Packager: simonfxr
Votes: 33
Popularity: 0.045614
First Submitted: 2017-06-30 06:04 (UTC)
Last Updated: 2022-03-11 18:57 (UTC)

Dependencies (5)

Required by (70)

Sources (2)

Latest Comments

brisbin33 commented on 2021-01-25 14:02 (UTC)

Oops, sorry about that. I didn't realize another package would do something like that.

Just FYI that zsh-completion's _stack will always be slightly worse than this since it's static, whereas stack --zsh-completion-script will be generated and so always up to date and correct.

If you don't want to handle completions here, that's fine with me. I can run these commands myself in a pacman hook on stack-static updates.

In case it's helpful, here is my $FPATH (trimmed of my own custom locations). Placing _stack in any of these will get it loaded -- it would just have to be ahead of the location zsh-completions is using, if you want it to take precedence:

% echo $FPATH | tr ':' '\n'
/usr/local/share/zsh/site-functions
/usr/share/zsh/site-functions
/usr/share/zsh/functions/Calendar
/usr/share/zsh/functions/Chpwd
/usr/share/zsh/functions/Completion
/usr/share/zsh/functions/Completion/Base
/usr/share/zsh/functions/Completion/Linux
/usr/share/zsh/functions/Completion/Unix
/usr/share/zsh/functions/Completion/X
/usr/share/zsh/functions/Completion/Zsh
/usr/share/zsh/functions/Exceptions
/usr/share/zsh/functions/Math
/usr/share/zsh/functions/MIME
/usr/share/zsh/functions/Misc
/usr/share/zsh/functions/Newuser
/usr/share/zsh/functions/Prompts
/usr/share/zsh/functions/TCP
/usr/share/zsh/functions/VCS_Info
/usr/share/zsh/functions/VCS_Info/Backends
/usr/share/zsh/functions/Zftp
/usr/share/zsh/functions/Zle

/usr/local/share could work?

simonfxr commented on 2021-01-23 21:19 (UTC)

@brianbuccola, darn, I don't know where to place it either. Some distros have the zsh/vendor-completions directory, but this not done in arch it seems. The best I can do for now is to not write any stack completion script for zsh. I guess you could place your in /usr/local/share, would that be an option?

brianbuccola commented on 2021-01-23 13:21 (UTC)

@simonfxr, @brisbin33, I'm getting this error now, since zsh-completions already owns _stack:

error: failed to commit transaction (conflicting files)
stack-static: /usr/share/zsh/site-functions/_stack exists in filesystem (owned by zsh-completions)
Errors occurred, no packages were upgraded.

I could remove _stack first, or --overwrite it, but I'm wondering if there's a better solution.

simonfxr commented on 2021-01-23 10:39 (UTC)

@brisbin33 Good idea! I updated the PKGBUILD.

brisbin33 commented on 2021-01-22 15:37 (UTC)

Would it be possible to get something like:

stack --bash-completion-script stack > \
  $prefix/share/bash-completion/completions/stack

stack --fish-completion-script stack > \
  $prefix/share/fish/vendor_completions.d/stack.fish

stack --zsh-completion-script stack > \
  $prefix/share/zsh/site-functions/_stack

Added to the post install?

gesh commented on 2020-11-18 12:44 (UTC)

Note https://bugs.archlinux.org/task/68662 -- without version info in provides, makepkg will still try to replace stack-static by stack if a package has a lower bound on the stack version

fosskers commented on 2020-05-21 17:12 (UTC)

One important difference is that stack-static requires having a custom PGP signature registered, while this package builds as-is.

drewbarbs commented on 2020-04-15 00:02 (UTC)

For anyone looking for a secondary reference re: the PGP key, the github release page for Stack version v2.3.0.1 indicates that the release has been signed with the key id E17D38358F72BEF7, and Github has verified the signature: https://github.com/commercialhaskell/stack/releases/tag/v2.3.0.1

Denommus commented on 2020-04-14 13:28 (UTC)

If anyone else had trouble finding a keyserver with his gpg key, it's on hkps.pool.sks-keyservers.net

Rufflewind commented on 2020-03-01 19:03 (UTC)

That seems to be the core difference.

Given that stack-static actually has a smaller binary than stack-bin I'm not sure there's any reason to favor this package over stack-static on x86_64.

jsomedon commented on 2020-03-01 13:28 (UTC)

hi, what's the difference between this package and stack-static? So this one is dynamically linked one?

simonfxr commented on 2019-07-22 18:35 (UTC)

@flannelhead: Thank you, it's fixed now.

flannelhead commented on 2019-07-22 11:57 (UTC)

@simonfxr: thanks. It seems that ncurses5-compat-libs was still accidentally left in the "depends" array.

simonfxr commented on 2019-07-18 10:19 (UTC)

@flannelhead: You are right, newer ghc's don't need libtinfo.so.5 any more, however older ghc's liking to it are still supported. I'm going to make ncurses5-compat-libs an optional dependency.

flannelhead commented on 2019-07-15 18:42 (UTC)

By the way, stack does seem to nowadays download builds of GHC that are linked against tinfo6 - hence I think ncurses5-compat-libs dependency could be dropped. I'm running the stack-static package successfully without ncurses5-compat-libs installed.

Rufflewind commented on 2019-07-08 19:05 (UTC)

Done.

thylacine222 commented on 2019-07-08 09:20 (UTC)

it does work, but you should include aarch64 in arch

Rufflewind commented on 2019-07-06 03:29 (UTC)

Added support for aarch64, but I can't test it to see if it works.

thylacine222 commented on 2019-07-03 23:27 (UTC)

could you add the aarch64 packages?

asgavar commented on 2019-06-15 12:24 (UTC) (edited on 2019-06-15 19:50 (UTC) by asgavar)

It seems that the maintainer has rotated his PGP key, the up-to-date GPG invocation is:
gpg --recv-keys 2C6A674E85EE3FB896AFC9B965101FF31C5C154D

Rufflewind commented on 2018-11-21 09:04 (UTC)

@flounders: I can't update this package because there are no official Linux binaries available for 1.9.1.1

flounders commented on 2018-11-21 08:06 (UTC)

Stack has had recent problems with setting up new projects due to problems with templates as outlined in this bug: https://github.com/commercialhaskell/stack/issues/4344 It has been fixed in 1.9.1.1, just waiting to see this get updated.

ghthor commented on 2018-06-18 22:34 (UTC)

This is installing successfully but upon trying to run stack build --install-ghc I am getting a segmentation fault. I'm only using this package because it is a build dependency for the elm-platform package.

bjin commented on 2018-04-23 14:10 (UTC)

Statically linked binary won't be available for releases from v1.7 branch, see https://github.com/commercialhaskell/stack/releases/tag/v1.7.0.1

jimenezrick commented on 2017-12-20 16:52 (UTC) (edited on 2017-12-20 16:52 (UTC) by jimenezrick)

Works great but you'll need to add to ~/.stack/config.yaml:

ghc-build: tinfo6

See: https://github.com/commercialhaskell/stack/issues/3630#issuecomment-352955959

nightuser commented on 2017-11-11 10:28 (UTC)

@szabba Do `gpg --recv 575159689BEFB442`

szabba commented on 2017-11-05 15:12 (UTC)

@simonfxr I tried doing that, but it seems to me gpg failed o find the key: gpg --search-keys 575159689BEFB442 gpg: data source: https://193.224.163.43:443 (1) FPComplete <dev@fpcomplete.com> 2048 bit RSA key 575159689BEFB442, created: 2015-06-02 Keys 1-1 of 1 for "575159689BEFB442". Enter number(s), N)ext, or Q)uit > 1 key 575159689BEFB442: 3 signatures not checked due to missing keys gpg: key 575159689BEFB442: "FPComplete <dev@fpcomplete.com>" not changed gpg: Total number processed: 1 gpg: unchanged: 1

simonfxr commented on 2017-09-23 13:04 (UTC)

@psychoteadrink You have to first import the gpg key into your keyring: gpg --search-keys 575159689BEFB442 then it should work :-)

psychoteadrink commented on 2017-09-23 12:47 (UTC)

I'm getting the following error when attempting to install: ==> Validating source files with sha256sums... stack.bash ... Passed stack-1.5.1-linux-x86_64-static.tar.gz ... Passed stack-1.5.1-linux-x86_64-static.tar.gz.asc ... Passed ==> Verifying source file signatures with gpg... stack-1.5.1-linux-x86_64-static.tar.gz ... FAILED (unknown public key 575159689BEFB442) ==> ERROR: One or more PGP signatures could not be verified! :: failed to verify stack-static integrity

simonfxr commented on 2017-07-29 11:22 (UTC)

@brisbin33 You are right, the ghc fetched by stack needs libtinfo.so.5. Thank you!

brisbin33 commented on 2017-07-24 21:54 (UTC)

I think this might be missing a ncurses5-compat-libs dependency, to avoid this Issue: https://github.com/commercialhaskell/stack/issues/3268