Closed ldesgoui closed 6 years ago
Thanks for reporting. Probably happened when we bumped dependency versions or messed with the stack.yaml file. Could you try doing a git bisect
to identify which commit broke it?
@ldesgoui I don't believe this has anything to do with postgrest, do you ?
nixpkgs
is using the stackage-lts
and the missing reported dependencies are not on the current lts at the required version bound. You will need to override nixpkgs
to fix this yourself (or/and send a PR to nixpkgs).
Using the nix overlays
system, it is going to be something like this:
self: super:
{
haskellPackages = super.haskellPackages.override {
overrides = hpkgs: _hpkgs: {
postgrest = _hpkgs.postgrest.override {
protolude= hpkgs.protolude_0_2;
...
};
};
};
}
I don't believe this has anything to do with postgrest, do you ?
I'm mostly ignorant on the subject.
I can't test right now, but if this is a solution and the fix should happen in nixpkgs
rather than here, I think it's okay to close it, hopefully in the meanwhile, people looking for that issue will find this archived.
I'll let @begriffs make the decision to close this issue.
Thanks!
Sorry, I don't know much about the details of using Nix. What are the full steps to reproduce? Based on the issue description I'm assuming:
bash <(curl https://nixos.org/nix/install)
nix-shell --pure
Is that right?
Let's continue the issue about building with nix in https://github.com/PostgREST/postgrest/issues/756.
Hello,
I forgot how to fix this, this happens on any recent nixpkgs channel.