Open Sigmanificient opened 7 months ago
Hi, glad you liked the blog post.
This is a limitation of Stack with Nixos: it can't download the compiler itself, so it relies on Nix. But if the precise Nix version isn't pinned (there's a pin for the Nix script in default.nix
, but not for GHC), then Stack may require a version that isn't in Nixpkgs anymore.
The Haskell file is simple enough. You probably can fix the build by applying the following change to the stack.yaml
file:
- resolver: lts-12.14
+ resolver: lts-22.6
or
- resolver: lts-12.14
+ resolver: lts-22.20
This repository is very much exposed “as is”, we aren't really spending time in maintaining it. That being said, you may want to sync up with the Nixtract team (@ErinvanderVeen , @GuillaumeDesforges ) who may have more modern ways of generating a similar graph.
Hi, i saw your blogpost from Tweag and i would love to create a updated version of the graph
Describe the bug The
stack build
command fails with the following error:Environment
NixOS 23.11.20240501.0638fe2 (Tapir)