!rWxyQqNqMUDLECdsIf:blad.is

Poetry2nix

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

Load older messages


SenderMessageTime
25 Oct 2023
@k900:0upti.meK900Maybe run it on Winter's box?11:06:18
@k900:0upti.meK900Might be faster11:06:20
@pcloud:matrix.orgcpcloudI don't know what that means11:06:27
@k900:0upti.meK900https://github.com/winterqt/darwin-build-box/11:06:41
@k900:0upti.meK900I have access if you want11:06:45
@pcloud:matrix.orgcpcloudEh, not too sure about shared nature of it :)11:10:54
@k900:0upti.meK900It's about 99% idle11:13:27
@k900:0upti.meK900Right now11:13:29
@k900:0upti.meK900Also I don't mean running it there in CI11:13:38
@k900:0upti.meK900I mean running it there for now11:13:42
@k900:0upti.meK900Just to iterate faster11:13:49
@pcloud:matrix.orgcpcloudRe sphinx5, I don't think this can be done in an override11:20:40
@pcloud:matrix.orgcpcloudThe recursion is happening before overrides are evaluated, while converting the lockfile to nix expressions11:21:14
@k900:0upti.meK900Shouldn't it be lazy here?11:21:49
@k900:0upti.meK900Like, it should be adding a thunk11:21:56
@k900:0upti.meK900Not fully evaluating it11:22:10
@k900:0upti.meK900 So you can just removePackagesByName it away later 11:22:15
@pcloud:matrix.orgcpcloudI am using lib.remove, maybe that's the reason?11:23:25
@k900:0upti.meK900lib.remove what?11:23:30
@pcloud:matrix.orgcpcloud

      sphinxcontrib-applehelp = super.sphinxcontrib-applehelp.overridePythonAttrs (old: {
        propagatedBuildInputs = lib.remove self.sphinx old.propagatedBuildInputs;
      });
11:23:46
@pcloud:matrix.orgcpcloud *
      sphinxcontrib-applehelp = super.sphinxcontrib-applehelp.overridePythonAttrs (old: {
        propagatedBuildInputs = lib.remove self.sphinx old.propagatedBuildInputs;
      });
11:23:50
@k900:0upti.meK900Yeah it won't compare equal probably11:25:01
@pcloud:matrix.orgcpcloudLemme try the other function11:25:10
@k900:0upti.meK900Because drvs aren't compared sanely11:25:12
@pcloud:matrix.orgcpcloudOk, nice that gets the eval working, thank you!11:28:19
@pcloud:matrix.orgcpcloud
      sphinxcontrib-serializinghtml = super.sphinxcontrib-serializinghtml.overridePythonAttrs (old: {
        propagatedBuildInputs = removePackagesByName (old.propagatedBuildInputs or [ ]) [ self.sphinx ];
      });
11:28:31
@pcloud:matrix.orgcpcloud I'll push up the fixes and a test once I update build-systems.json to get things working 11:29:23
@k900:0upti.meK900Cool11:29:26
@pcloud:matrix.orgcpcloudpushed11:31:16
@pcloud:matrix.orgcpcloudThe mac os issue is that netcdf is failing to link libhdf5_hl https://github.com/nix-community/poetry2nix/actions/runs/6638146548/job/18038264309#step:5:578111:34:33

Show newer messages


Back to Room ListRoom Version: 6