Install duckdb@1.1.2

Hi, I’m trying to install the latest version of duckdb (1.1.2).

The error message I’m getting is a bit cryptic:

❌ ERROR: resolution failed: constraints for group 'toplevel' are too tight

   Use 'flox edit' to adjust version constraints in the [install] section,
   or isolate dependencies in a new group with '<pkg>.pkg-group = "newgroup"'

Does that mean that this version brings in some dependencies which are conflicting with some of my installed packages in that environment?

Could we have a more fleshed-out error message with the exact lines to add to the [install] section? Or maybe a question asking the user to do it automatically?

Thanks.

Does that mean that this version brings in some dependencies which are conflicting with some of my installed packages in that environment?

Kind of yes, it says that

  1. duckdb@1.1.2 can not be provided at all or
  2. there is no revision of nixpkgs that has duckdb@1.1.2 and also your-other-package@x.y.z if you already have packages installed in the “toplevel” group (which are all packages that do not have an explcit “pkg-group” set)
  3. duckdb@1.1.2 is not allowed e.g. because its broken

Could we have a more fleshed-out error message with the exact lines to add to the [install] section? Or maybe a question asking the user to do it automatically?

We are aware of these problems and have pen issues that should make the messages somewhat more relevant:

1 Like

Thanks Yannick,

For flox users having a similar issue, I was able to use the latest version of duckdb by edit my environment and adding these lines:

duckdb.pkg-path = "duckdb"
duckdb.version = "1.1.2"
duckdb.pkg-group = "duckdb"