You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of my personal projects use versions 0.19.0 and 0.20.0 of opium and the one available at ocamlPackages is 0.18.0. This is breaking everything due to a change in http client(cohttp to httpaf) and other refactorations.
I've tried some configs in order to customize my nix-shell but I didn't manage make it work.
I came here to ask for help
Steps to reproduce
my opium-overlay.nix:
self: super: {opium_kernel=super.ocaml-ng.ocamlPackages_4_12.opium_kernel.overrideAttrs(old: rec{pname="opium";version="0.20.0";useDune2=true;minimalOCamlVersion="4.12.1";src=super.fetchurl{url="https://github.com/rgrinberg/opium/releases/download/${version}/opium-${version}.tbz";sha256="09ygcxxd5warkdzz17rgpidrd0pg14cy2svvnvy1hna080lzg7vp";};meta=withsuper.lib;{homepage="https://github.com/rgrinberg/opium";description="Sinatra like web toolkit for OCaml";license=licenses.mit;maintainers=[maintainers];};});}
Issue description
Some of my personal projects use versions
0.19.0
and0.20.0
of opium and the one available atocamlPackages
is0.18.0
. This is breaking everything due to a change in http client(cohttp to httpaf) and other refactorations.I've tried some configs in order to customize my
nix-shell
but I didn't manage make it work.I came here to ask for help
Steps to reproduce
my
opium-overlay.nix
:my
shell.nix
:Technical details
The shell is launching without problems but the version of opium still
0.18.0
.The text was updated successfully, but these errors were encountered: