| 28 Oct 2023 |
cpcloud | Any objections? | 11:03:59 |
cpcloud | Whoops looks like I broke CI | 11:32:30 |
cpcloud | Fixing now | 11:32:32 |
cpcloud | https://github.com/nix-community/poetry2nix/pull/1384 | 11:39:13 |
| 30 Oct 2023 |
| moved to @lunarequest:greyseal.ue changed their display name from 🏳️⚧️ nullrequest(she/her) to moved to @lunarequest:greyseal.ue. | 08:00:36 |
| 31 Oct 2023 |
| @aljosa.mohorovic:matrix.org left the room. | 09:51:46 |
| 1 Nov 2023 |
K900 | I think something got borked in the last few changes | 08:33:14 |
K900 | I'm getting /nix/store/lh0777wgx8gb3qrxz57a3mv6d388b4jf-python3.11-pydantic-core-2.10.1/lib/python3.11/site-packages/pydantic_core/_pydantic_core.cpython-310-x86_64-linux-gnu.so | 08:34:44 |
K900 | (note the 310 tag) | 08:34:52 |
K900 | I assume this was https://github.com/nix-community/poetry2nix/commit/02b932909de5125328cfcaadd660cc73012592ce | 08:35:14 |
K900 | Ping @adisbladis | 08:35:17 |
adisbladis | Ugh -.- I was only supposed to push that last commit | 08:36:15 |
adisbladis | K900 ⚡️: Reverted | 08:36:33 |
adisbladis | Probably this is a good time to ban master pushes :P | 08:36:55 |
K900 | So does it just not work correctly right now? | 08:37:00 |
K900 | I mean the pyproject.nix change | 08:37:05 |
adisbladis | No, the wheel selection stuff isn't done yet | 08:37:23 |
K900 | Oh | 08:37:28 |
K900 | Got it | 08:37:29 |
adisbladis | The rest of the pyproject.nix changes works alright afaik | 08:37:40 |
| 2 Nov 2023 |
adisbladis | Follow-up to yesterdays accidental push https://github.com/nix-community/poetry2nix/pull/1387 | 03:49:34 |
adisbladis | If you're on x86_64-darwin and you don't get wheels selected after updating poetry2nix, this PR is why ( https://github.com/nix-community/poetry2nix/pull/1387#issuecomment-1790016973 ) | 09:44:36 |
nazarewk | Redacted or Malformed Event | 09:56:04 |
adisbladis | In reply to @adis:blad.is Follow-up to yesterdays accidental push https://github.com/nix-community/poetry2nix/pull/1387 I'm so happy about this. This was the last janky ass metadata integration stuff we had in poetry2nix. | 11:34:09 |
K900 | Very cool | 11:34:32 |
virtu | In the latest flake template from poetry2nix, inherit (poetry2nix.lib.mkPoetry2Nix { inherit pkgs; }) mkPoetryApplication; is used so mkPoetryApplication can be used in the output.
How can I use mkPoetryApplication if I'm not using flake-utils?
| 11:57:46 |
virtu | Before I switched to out-of-tree poetry2nix, it was simply pkgs.${system}.poetry2nix.mkPoetryApplication. I thought I can just use poetry2nix.mkPoetryApplication, but that won't work. | 11:58:44 |
adisbladis | In reply to @virtu:matrix.im
In the latest flake template from poetry2nix, inherit (poetry2nix.lib.mkPoetry2Nix { inherit pkgs; }) mkPoetryApplication; is used so mkPoetryApplication can be used in the output.
How can I use mkPoetryApplication if I'm not using flake-utils?
That has nothing to do with flake-utils or not | 12:02:55 |
virtu | adisbladis: you're certainly right. I'm just having difficulty translating the statement to the code that's used by the flake python template. In poetry2nix's template, it's:
pkgs = nixpkgs.legacyPackages.${system};
inherit (poetry2nix.lib.mkPoetry2Nix { inherit pkgs; }) mkPoetryApplication;
In the flake python template, it's:
let
supportedSystems = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ];
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
pkgs = forAllSystems (system: nixpkgs.legacyPackages.${system});
in
| 12:05:05 |
adisbladis | Is your repo public somewhere? It's a bit hard to tell where things go wrong without more context. | 12:06:13 |