Nix Hackers | 909 Members | |
| For people hacking on the Nix package manager itself | 190 Servers |
| Sender | Message | Time |
|---|---|---|
| 10 Jun 2021 | ||
| 20:41:51 | ||
| 20:43:41 | ||
| 21:29:31 | ||
| 21:39:13 | ||
| 11 Jun 2021 | ||
| 11:52:21 | ||
| 23:31:58 | ||
| 14 Jun 2021 | ||
| Regnat: niksnut: would you mind doing ~30 minutes later? I have a previous meeting that was longer than i thought | 13:39:09 | |
| 17 Jun 2021 | ||
| niksnut: any chance to get a review for https://github.com/NixOS/nix/pull/4770 ? :) | 23:13:57 | |
| 18 Jun 2021 | ||
| What's remaining for flakes to become stable? | 12:10:18 | |
| 16:02:54 | ||
| 21 Jun 2021 | ||
| John Ericson niksnut I’ll be 5 mins late | 14:01:08 | |
In reply to @theophane:hufschmitt.netHm the meeting has disappeared from my calendar | 14:04:59 | |
In reply to @niksnut:matrix.orgDuh ? It’s https://meet.google.com/udu-spei-gpt | 14:05:30 | |
In reply to @ma27:nicht-so.sexyThanks, I added some comments! | 14:56:32 | |
| https://github.com/NixOS/nixpkgs/issues/126141 | 17:00:36 | |
| 22 Jun 2021 | ||
| Hey all 👋 | 23:53:39 | |
As part of the https://discourse.nixos.org/t/tweag-fellowship-fuzzing-nix-0/ , I am tweaking the nix build system. | 23:54:43 | |
| And some things are pretty mysterious...
I don't understand how the | 23:58:22 | |
| 23 Jun 2021 | ||
In reply to @pamplemouss_:matrix.orgnot familiar with building nix, but it looks it's fairly abstracted :) the individual local.mk files scattered through the source get iteratively processed at https://github.com/NixOS/nix/blob/master/mk/lib.mk#L96 and then instantiated a few lines later | 03:13:13 | |
| not certain if that answers the question | 03:13:28 | |
| Yeah, I more or less figured that. What I am confused about is that as per mk/libraries.mk, it seems that the libraries libnix*.so are built in their respective src/lib*/, and only moved to outputs/out/ (or whatever is in --prefix) when make install (mk/lib.mk using "functions" declared in mk/install.mk).I don't get how the final binary is linked agains't it before they are installed 😕 | 03:19:19 | |
pamplemousse as far as I understand, the link logic is actually duplicated: make will build everything in place (and src/nix/nix will use the libs built in-tree), while make install will directly link things at their final location, and set the rpath to this location (here) | 05:17:47 | |
So running make and make install will actually result in two different builds of the .so files | 05:19:09 | |
| 06:52:53 | ||
| Any chance of getting https://github.com/NixOS/nix/pull/4873 in? | 15:38:50 | |
I didn't think about the rpath🤦♂️ | 16:01:53 | |
In reply to @theophane:hufschmitt.netDo you mean that the .so will be compiled twice? | 16:03:00 | |
In reply to @pamplemouss_:matrix.orgI think so, yes | 16:53:59 | |
(I mean, if you just run make install then the in-tree so won’t be compiled, but if you run both, then they will be compiled twice) | 16:54:33 | |
| 🤔 ... I thought they were only compiled on make, and mved on make install.Rest is rpath doing its job at run-time, and being set to the proper destination on make install... | 16:55:24 | |