| 20 Mar 2024 |
Charles | alternatively downgrade pandas to 2.1.x | 23:52:38 |
| 21 Mar 2024 |
@vengmark2:matrix.org | Is it just me or is poetry2nix still much simpler in Nix shell than using flakes? | 02:05:17 |
@vengmark2:matrix.org | * Is it just me or is poetry2nix still much simpler in Nix shell than using flakes? In flakes there seems to be these extra inputs.nixpkgs.follows = "nixpkgs"; and poetry2nix.lib.mkPoetry2Nix { inherit pkgs; }) steps which seem redundant. | 02:06:27 |
Charles | just don't do the former | 02:58:16 |
@vengmark2:matrix.org | I can't find any good documentation of any of this, so I've just reverted to using Nix shells. Much simpler. | 03:05:23 |
Charles | of what, follows? | 03:06:39 |
@vengmark2:matrix.org | How to use poetry2nix with flakes. This doesn't really explain anything. | 03:07:46 |
@vengmark2:matrix.org | I tried using it, and the resulting config is much more complex than a Nix shell. | 03:08:13 |
Charles | https://github.com/nix-community/poetry2nix/blob/3c92540611f42d3fb2d0d084a6c694cd6544b609/templates/app/flake.nix#L18 | 03:08:57 |
Charles | i do poetry2nix = inputs.poetry2nix.lib.mkPoetry2Nix { inherit pkgs; }; though so i can reuse poetry2nix instead of just the 1 builder | 03:09:33 |
@vengmark2:matrix.org | Still doesn't explain anything. | 03:09:42 |