| 29 Nov 2023 |
BenBot | In reply to @k900:0upti.me It should have overridePythonAttrs at /nix/store/wzjdajqfi4v7agn3s8hszvg0z8lkbnpw-source/flake.nix:40:21:
39| };
40| default = nn.mkPoetryApplication ({
| ^
41| buildInputs = [ self.packages.${system}.proto ];
error: attribute 'overridePythonAttrs' missing
doesn't seem like it :(
| 16:09:45 |
BenBot | default = nn.mkPoetryApplication ({
buildInputs = [ self.packages.${system}.proto ];
projectDir = "${self.packages.${system}.proto}";
preferWheels = true;
}).overridePythonAttrs (old: { buildPhase = "asdf"; });
| 16:10:14 |
K900 | I'm pretty sure you're doing nn.mkPoetryApplication ({}).overrideAttrs | 16:10:14 |
K900 | Yes | 16:10:17 |
BenBot | :0 | 16:10:29 |
K900 | Where you want (nn.mkPoetryApplication {}).overrideAttrs | 16:10:29 |
BenBot | :facepalm: | 16:11:35 |
BenBot | overrideAttrs AND overridePythonAttrs both work now
I guess i'm still pretty fuzzy on the ( and ) semantics in nix
| 16:12:04 |
K900 | Function application doesn't need spaces | 16:15:11 |
K900 | So you can do foo bar instead of foo(bar) | 16:15:22 |
K900 | But foo (bar) is parsed as foo bar | 16:15:37 |
K900 | So foo(bar).baz is parsed as foo (bar.baz), not foo(bar).baz | 16:15:52 |
BenBot | ahhh, that's what's tripping me up | 16:16:10 |
| 1 Dec 2023 |
| @ilpianista:kde.org joined the room. | 08:30:32 |
@ilpianista:kde.org | 'morning, I just upgraded to 23.11 and now I got the error about poetry2nix not being anymore in nixpkgs. Does this means that I've to switch my project to flakes to use poetry2nix? because I don't get how to fix my default.nix file to keep it working without flakes (I'm not against them, but I haven't explored them yet). Thanks! | 08:31:20 |
K900 | No | 08:50:54 |