Fully static Haskell executables - overview issue
**If you just want to build static Haskell executables right now, follow [these instructions](https://github.com/nh2/static-haskell-nix).** This issue collects/links all issues and ongoing work to make fully-static building of Haskell executables an excellently-working feature in nixpkgs. I will update here regularly the progress we are making, and sub-goals we encounter on the way that need to be fulfilled to tick off the parent goal. Obviously contributions to this list are welcome. * [ ] **Fully static builds of Haskell exes should be trivial** (end goal) * [ ] Document in the nixpkgs manual how to make fully static Haskell builds * [x] Building `stack` based projects with their own `resolver` should be really easy * Done since https://github.com/NixOS/nixpkgs/issues/43795#issuecomment-495035217 * [x] A minimal `stack` based example should be added ([here](https://github.com/nh2/static-haskell-nix/tree/b06f8979bfaa27dc4ce76cbeaa393e0c28b5baef/static-stack2nix-builder-example)) * [x] ~All~ Most Haskell executables in nixpkgs succeed to build statically * This is being worked on in the `survey` directory of https://github.com/nh2/static-haskell-nix * [x] Build as many static Haskell executables from nixpkgs as possible * [x] Build [nix expression that can find and build all Haskell executables in ~nixpkgs~ Stackage](https://github.com/nh2/static-haskell-nix/blob/09d0eaa605111ea516dfaa0e7341a71ff1a63042/survey/default.nix#L257-L259) * [
Posted by nh2 on Jul 19, 2018, 1:29 AM
Tags
Related issues
- [Meta] Feedback on granular control over Copilot changes
- unexpected status 401 Unauthorized issue
- [MODEL] Measurable quality regression in Claude generation 5 (Fable 5 / Opus 5 / Sonnet 5): worse nonsense detection, ~2x verbosity, under-disclosed model fallb
- [CRITICAL] Subagent spawning and subagent pattern bugs trigger infinite recursion, infinite token usage, grossly inefficient token usage, and lost accumulated s
- Video stops playing after some minutes
- [MODEL] Claude verbose code comments by default — ignores instructions to stop.
Raise real-world problems, find people facing the same issue, and discuss solutions.4,000 issues0 comments
github (Software)
[Meta] Feedback on granular control over Copilot changes
unexpected status 401 Unauthorized issue
[MODEL] Measurable quality regression in Claude generation 5 (Fable 5 / Opus 5 / Sonnet 5): worse nonsense detection, ~2x verbosity, under-disclosed model fallb
[CRITICAL] Subagent spawning and subagent pattern bugs trigger infinite recursion, infinite token usage, grossly inefficient token usage, and lost accumulated s
Video stops playing after some minutes
[MODEL] Claude verbose code comments by default — ignores instructions to stop.
Scope Codex VS Code chats to the current workspace/project
Update on "Co-authored-by: Copilot" in commit messages
Fully static Haskell executables - overview issue
**If you just want to build static Haskell executables right now, follow [these instructions](https://github.com/nh2/static-haskell-nix).** This issue collects/links all issues and ongoing work to make fully-static building of Haskell executables an excellently-working feature in nixpkgs. I will update here regularly the progress we are making, and sub-goals we encounter on the way that need to be fulfilled to tick off the parent goal. Obviously contributions to this list are welcome. * [ ] **Fully static builds of Haskell exes should be trivial** (end goal) * [ ] Document in the nixpkgs manual how to make fully static Haskell builds * [x] Building `stack` based projects with their own `resolver` should be really easy * Done since https://github.com/NixOS/nixpkgs/issues/43795#issuecomment-495035217 * [x] A minimal `stack` based example should be added ([here](https://github.com/nh2/static-haskell-nix/tree/b06f8979bfaa27dc4ce76cbeaa393e0c28b5baef/static-stack2nix-builder-example)) * [x] ~All~ Most Haskell executables in nixpkgs succeed to build statically * This is being worked on in the `survey` directory of https://github.com/nh2/static-haskell-nix * [x] Build as many static Haskell executables from nixpkgs as possible * [x] Build [nix expression that can find and build all Haskell executables in ~nixpkgs~ Stackage](https://github.com/nh2/static-haskell-nix/blob/09d0eaa605111ea516dfaa0e7341a71ff1a63042/survey/default.nix#L257-L259) * [
Comments (0)
No comments yet. Start the discussion.