!rWxyQqNqMUDLECdsIf:blad.is

Poetry2nix

328 Members
https://github.com/nix-community/poetry2nix61 Servers

Load older messages


SenderMessageTime
6 Nov 2023
@k900:0upti.meK900Can't reproduce here20:58:41
@k900:0upti.meK900This is just a random poetry2nix package that definitely does not touch gradio20:58:50
@k900:0upti.meK900As you can see, all the inputs are there20:59:06
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how in poetry2nix defaultPoetryOverrides.extend (self: super: {}) does super use Nixpkgs ? 20:59:55
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howor is that before the overlay is applied?21:00:10
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how because if so, I've been using super, assuming it means before and after in the context of extended 21:00:50
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how * because if so, I've been using super, assuming it means before and after in the context of just the extended ovelray 21:01:08
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how * because if so, I've been using super, assuming it means before and after in the context of just the extended overlay 21:01:11
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how * because if not, I've been using super, assuming it means before and after in the context of just the extended overlay 21:01:23
@k900:0upti.meK900 super uses the entire overlay stack 21:01:25
@k900:0upti.meK900Which is like ten layers of overlays21:01:38
@k900:0upti.meK900Your overlay is always applied last21:01:48
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howhttps://github.com/MatthewCroughan/privateGPT/blob/main/flake.nix#L30-L4121:02:23
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howmaybe you can see it from the code then, I'm not sure how to debug this 21:02:30
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howmy gradio-client and gradio overrides shouldn't need to exist, since the inputs.nixpkgs already has those nativeBuildInputs 21:02:59
@k900:0upti.meK900And what happens if you remove those?21:03:24
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how it'll crash saying that it doesn't have those nativeBuildInputs python3.11-gradio-client> hatchling.plugin.exceptions.UnknownPluginError: Unknown metadata hook: requirements_txt 21:04:01
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howAlso look at those vendored cargo.locks, there must be a way poetry2nix could use them automatically right?21:05:49
@k900:0upti.meK900No21:06:06
@k900:0upti.meK900That would be IFD21:06:10
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how not if you used builtins.fetchTarball for the fetching of the src right? 21:06:27
@k900:0upti.meK900That would just be banned in nixpkgs21:06:37
@k900:0upti.meK900Just like IFD21:06:40
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how then src is an outPath with the cargo.lock in it 21:06:40
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how * then src is an outPath with the Cargo.lock in it 21:06:43
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howOh, I didn't realise nixpkgs banned that 21:06:48
@k900:0upti.meK900And if you're doing that, you might as well do IFD21:06:50
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howI don't understand why, or why that's bad, compared to IFD 21:07:02
@k900:0upti.meK900The whole point of not doing IFD or anything IFD-adjacent is to make it so you can evaluate nixpkgs offline21:07:04
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howOh, I can actually do that?21:07:21

Show newer messages


Back to Room ListRoom Version: 6