Package Details: stack-static 2.7.5-1

Git Clone URL: (read-only, click to copy)
Package Base: stack-static
Description: The Haskell Tool Stack (linked statically)
Upstream URL:
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 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 > \

stack --fish-completion-script stack > \

stack --zsh-completion-script stack > \

Added to the post install?

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

Note -- 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:

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

If anyone else had trouble finding a keyserver with his gpg key, it's on

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 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)


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

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: It has been fixed in, 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

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


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: (1) FPComplete <> 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 <>" 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 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: