Daniel Firth

Results 71 comments of Daniel Firth

Is there a WIP branch for this?

Is there a way to grab the generated copy of the cabal file for the nix version of that build to compare?

@mark-gerarts What changed for you? I tried the installation just a moment ago and still getting this ssl error.

Can this be merged?

When I try your exact example I get: ``` trace: To make project.stack-nix for haskell-project a fixed-output derivation but not materialized, set `stack-sha256` to the output of the 'calculateMaterializedSha' script...

Here's a reproduction using your flake.nix expression and a stack manifest with your resolver in resulting in `error: fetchurl requires either `url` or `urls` to be set` https://github.com/locallycompact/custom-stack-resolver-bug

Ok, the name: field needs to be in the *resolver*, for some reason I'd convinced myself it was going in the stack.yaml. Ignore me.

Ok, related though is this behaviour, setting: ``` resolver: url: https://gitlab.homotopic.tech/packaging/stackage-snapshots/-/raw/master/nightly/2021/8/5.yaml size: 605 sha256: 4b996341941b8e0c41aecfa0d1852c22e8747e7deeee87a9f862c7257b8c47df ``` is a valid stack configuration, but this will fail in stack2nix with the fetchurl...