!rWxyQqNqMUDLECdsIf:blad.is

Poetry2nix

316 Members
https://github.com/nix-community/poetry2nix59 Servers

Load older messages


SenderMessageTime
6 Nov 2023
@k900:0upti.meK900And what happens if you remove those?21:03:24
@matthewcroughan:defenestrate.itmatthewcroughan 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.itmatthewcroughanAlso 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 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 then src is an outPath with the cargo.lock in it 21:06:40
@matthewcroughan:defenestrate.itmatthewcroughan * then src is an outPath with the Cargo.lock in it 21:06:43
@matthewcroughan:defenestrate.itmatthewcroughanOh, 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.itmatthewcroughanI 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.itmatthewcroughanOh, I can actually do that?21:07:21
@k900:0upti.meK900Yes?21:07:26
@k900:0upti.meK900How do you think all the VM tests work21:07:32
@k900:0upti.meK900And the manual build21:07:35
@k900:0upti.meK900And the everything else21:07:37
@matthewcroughan:defenestrate.itmatthewcroughanI can go offline, and instantiated all the drv files, without the internet, but with IFD I have to use the internet to instantiate the drvs?21:07:42
@matthewcroughan:defenestrate.itmatthewcroughan * I can go offline, and instantiate all the drv files, without the internet, but with IFD I have to use the internet to instantiate the drvs?21:07:46
@k900:0upti.meK900Yes21:07:53
@matthewcroughan:defenestrate.itmatthewcroughanDoes builtins.fetchTarball change that? I didn't know.21:08:35
@matthewcroughan:defenestrate.itmatthewcroughanIs that explained anywhere, somewhere I haven't read? I didn't know what the motivating factor for banning IFD was, just that it was supposed to be bad.21:09:45
@k900:0upti.meK900How would it fetch21:10:19
@k900:0upti.meK900If there is no internet21:10:21
@matthewcroughan:defenestrate.itmatthewcroughandrv files are instructions of how to do something, then when you realise them, then it would go to the internet, I thought 21:10:53
@matthewcroughan:defenestrate.itmatthewcroughanah, but the outPath is FOD and content addressed, so calculating that outPath relies on realisation 21:11:17
@k900:0upti.meK900 builtins.fetchTarball does not produce a drv 21:11:18
@k900:0upti.meK900It runs at eval time21:11:21

Show newer messages


Back to Room ListRoom Version: 6