Hi,

as a user, I would appreciate it if Arch Linux were to switch to
statically-linked haskell packages. Maybe there's a good reason not to
do this, but to me, it looks like it would be an advantage if it were
implemented.

Regards,
Ralf

PS:

"Using dynamic linking typically results in" - 
https://wiki.archlinux.org/title/Haskell

I'll add to the wiki in my own words

"Using dynamic linking typically results in" nearly daily updates to
more than 200 Haskell packages on my system, which has only two apps:
shellcheck and apostrophe, for which I need haskell.

By replacing "extra/pandoc-cli" with "chaotic-aur/pandoc-bin", I was
able to remove most of the haskell packages [1]. The submitter from the
AUR package left a nice comment:

"cdkitching commented on 2023-09-22 09:07 (UTC)

Using this package will waste instead of save disk space if:

    You're a haskell developer and need the shared libraries/compilers/etc. 
anyway.
    You have >10 other statically-linked haskell packages around the same size 
as Pandoc (in which case you'll get a saving from making them all dynamically 
linked).

Neither of these scenarios is particularly likely." - 
https://aur.archlinux.org/packages/pandoc-bin#comment-935107

[1]
$ sudo pacman -Rss $(pacman -Qq | grep haskell) hslua-cli pandoc-cli shellcheck 
python-pypandoc apostrophe && sudo pacman -S shellcheck apostrophe
[snip]
Packages (255) [snip]
:: There are 2 providers available for pandoc:
:: Repository extra
   1) pandoc-cli
:: Repository chaotic-aur
   2) pandoc-bin

Enter a number (default=1): 1
looking for conflicting packages...

Packages (245) [snip]
:: Proceed with installation? [Y/n] n

$ sudo pacman -S shellcheck
[snip]
Packages (55) [snip]

$ sudo pacman -S apostrophe
resolving dependencies...
:: There are 2 providers available for pandoc:
:: Repository extra
   1) pandoc-cli
:: Repository chaotic-aur
   2) pandoc-bin

Enter a number (default=1): 1
looking for conflicting packages...

Packages (190) [snip]

$ sudo pacman -S apostrophe
resolving dependencies...
:: There are 2 providers available for pandoc:
:: Repository extra
   1) pandoc-cli
:: Repository chaotic-aur
   2) pandoc-bin

Enter a number (default=1): 2
looking for conflicting packages...

Packages (13) [snip]

Reply via email to