Hi Benjamin, Thanks for the report. "Benjamin" writes: > Here is a minimal example to reproduce the bug : > > --- > (use-modules > (gnu packages ocaml) > (guix build-system ocaml)) > > ;ocaml-dune-build-info > (package-with-ocaml5.0 ocaml-dune-build-info) > --- > > Building the commented default version will create the expected package > in /gnu/store/...ocaml-dune-build-info > > While building the ocaml5.0 version will build /gnu/store/...ocaml5.0-dune Yes, this is a bug. The reason is that the `(inherit dune)` in ocaml-dune-build-info incorrectly inherits the package variant properties from dune. The OCaml 5.0 variant for ocaml-dune-build-info becomes ocaml5.0-dune. I think the best way to fix this is to clear the package variant properties in ocaml-dune-build-info by resetting the properties. Find attached a patch that does exactly that. CC: Julien for review. Your fix to inherit from `dune-bootstrap` has a similar effect as the package variants are defined in `dune` but not `dune-bootstrap`. I slightly prefer not inheriting from `dune-bootstrap` as it reduces things that directly touch bootstrap stuff. -pukkamustard