static-haskell-nix

easily build most Haskell programs into fully static Linux executables (by nh2)

Static-haskell-nix Alternatives

Similar projects and alternatives to static-haskell-nix

  1. nixpkgs

    Nix Packages collection & NixOS

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. alacritty

    A cross-platform, OpenGL terminal emulator.

  4. kitty

    If you live in the terminal, kitty is made for you! Cross-platform, fast, feature-rich, GPU based.

  5. egui

    egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native

  6. wlroots

    Discontinued A modular Wayland compositor library

  7. termite

    Discontinued Termite is obsoleted by Alacritty. Termite was a keyboard-centric VTE-based terminal, aimed at use within a window manager with tiling and/or tabbing support.

  8. Windows-10

    Windows 10 Light theme for Linux (GTK)

  9. nanovg

    Antialiased 2D vector drawing library on top of OpenGL for UI and visualizations.

  10. monomer

    An easy to use, cross platform, GUI library for writing Haskell applications.

  11. haskell.nix

    Alternative Haskell Infrastructure for Nixpkgs

  12. haskell-nix

    Nix and Haskell in production

  13. Windows-7

    Linux theme based on the apperance of Windows 7

  14. gi-gtk-declarative

    Declarative GTK+ programming in Haskell

  15. Cabal

    Official upstream development repository for Cabal and cabal-install

  16. nixos-config

    Discontinued Personal collection of NixOS config files (by hsek)

  17. clodl

    Turn dynamically linked ELF binaries and libraries into self-contained closures.

  18. haskell-kafka

    Discontinued [GET https://api.github.com/repos/jtonic/haskell-kafka: 404 - Not Found // See: https://docs.github.com/rest/repos/repos#get-a-repository]

  19. nix-templates

    Minimal reproducible nix flake templates (by klarkc)

  20. swoogle

    A Star Wars search engine

  21. MetalNanoVG

    The Metal port of NanoVG.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better static-haskell-nix alternative or higher similarity.

static-haskell-nix discussion

Log in or Post with

static-haskell-nix reviews and mentions

Posts with mentions or reviews of static-haskell-nix. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-03.
  • Trying to build a statically linked binary against glibc (Linux)
    3 projects | /r/haskell | 3 Jul 2022
    Using Nix: https://github.com/nh2/static-haskell-nix
  • Generating static binary + CI questions
    3 projects | /r/haskell | 14 Feb 2022
  • GHC reports "Loading static libraries is not supported"
    1 project | /r/haskell | 11 Oct 2021
    To debug this type of problem (I have to debug linker errors regularly as part of static-haskell-nix):
  • [ANN] Monomer, a GUI library for Haskell
    11 projects | /r/haskell | 9 Aug 2021
    In static-haskell-nix there is currently this PR to enable support for that: https://github.com/nh2/static-haskell-nix/pull/108
  • What's all the hype with Nix?
    9 projects | /r/haskell | 2 Jun 2021
  • Termite Is Obsoleted by Alacritty
    13 projects | news.ycombinator.com | 7 May 2021
    I think there's a misunderstanding: Most people want to use the .a file from their Linux/package distro that provides static libraries, such as Alpine Linux or nixpkgs.

    Such package distributions just use the build system default options to build static libs. For example, Alpine might use `-Ddefault_library=both`.

    > if they could keep that libgtk_static around

    Why make these special cases instead of just using the build system defaults? That's easier to maintain and more obvious.

    > I'd be interested to hear if static linking GTK even has that many benefits

    One benefit is almost-infinite backwards compatibility that the Linux and Xorg ABIs provide, being able to make GUI apps that work out of the box everywhere.

    Another is that these generated executables are very small, e.g. 12 MB for a full static GTK GUI app [1], or 6 MB when xz-compressed.

    This is much less than when using shared libraries. One reason is that dead-code elimination works much better for static linking: It links in only the functions you actually use. For dynamic linking, it's always the entire .so.

    [1] https://github.com/nh2/static-haskell-nix/releases/tag/c-sta...

  • Clodl: Turn dynamically linked ELF binaries into self-contained closures
    2 projects | news.ycombinator.com | 3 May 2021
    GTK can be statically linked.

    Example executable:

    https://github.com/nh2/static-haskell-nix/releases/tag/c-sta...

    It lost this ability temporarily when switching to Meson, but I fixed it in GTK3 and GTK4. But I just checked and apparently it is broken again:

    https://gitlab.gnome.org/GNOME/gtk/-/issues/3774#note_109746...

  • A note from our sponsor - SaaSHub
    www.saashub.com | 17 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic static-haskell-nix repo stats
7
403
7.4
almost 2 years ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Nix is
the 31st most popular programming language
based on number of references?