| 11 Dec 2024 |
Alyssa Ross | Gerrit is usually paired with gitiles, which dose. | 15:05:59 |
p14 | Right but can nix fetch a tree through it? | 15:06:17 |
Alyssa Ross | * | 15:06:19 |
p14 | (and better, can I redirect requests to github to a gitiles instance?) | 15:06:38 |
Alyssa Ross | I don't think so, although it could — we have a gitiles fetcher in Nixpkgs. | 15:06:42 |
p14 | Right, fetching via gitiles could work. But I don't see a fetcher in nix? (No grep hits, no PR hits). And even if there was, there would also need to be a redirection mechanism in nix | 15:12:28 |
p14 | So, I think I have a sort-of route. 1) we’d need a gitiles fetcher. 2) the machines which can’t access github can have a registry pin for nixpkgs which points them to the private gitiles mirror. Minor detail that a gitiles would be needed.
And the other minor detail that any flake lockfiles made on those machines would end up referencing the mirror, and not the original github repository as you would probably want. | 17:30:43 |
p14 | An additional annoyance is that the mirror actually has different URLs in different contexts. So you’d really not want to write those into lockfiles if possible. | 17:33:57 |
| 12 Dec 2024 |
| query.roads joined the room. | 19:44:36 |
| 13 Dec 2024 |
| @alethkit:matrix.org left the room. | 10:34:07 |
| 14 Dec 2024 |
| sinan changed their profile picture. | 03:00:24 |
| @domagojding:matrix.org left the room. | 10:29:50 |
| @silasdavis:one.ems.host left the room. | 11:13:44 |
| @hbakardzhiev:matrix.org left the room. | 13:08:16 |
| 16 Dec 2024 |
| @ole6edev:matrix.org left the room. | 02:54:55 |
| thangqt joined the room. | 15:26:35 |
| @jolly.roberts:matrix.org left the room. | 15:36:02 |
| 18 Dec 2024 |
| EndureAhead joined the room. | 13:43:17 |
| tim126 joined the room. | 15:50:30 |
| @dmiskovic:matrix.org joined the room. | 19:36:19 |
| 19 Dec 2024 |
matthewcroughan | I'm now experiencing this on my NixOS machine itself, after upgrading to 2.25.x https://github.com/NixOS/nix/issues/10630 | 14:48:00 |
matthewcroughan | Using nix-shell -p nixVersions.nix_2_24 fixes it, but I'll update the issue to reflect that. | 14:48:33 |
matthewcroughan | Probably https://github.com/NixOS/nix/issues/10683 as well | 14:56:55 |
matthewcroughan | Basically for whatever reason things are going at like 50kbps for me on new nix :P | 14:58:23 |
matthewcroughan | https://nix.dev/manual/nix/2.24/command-ref/conf-file.html?highlight=determinism#conf-download-buffer-size | 14:58:55 |
| Stefan joined the room. | 21:43:59 |
| 20 Dec 2024 |
| 0xfeebdaed joined the room. | 04:01:22 |
| jthulhu joined the room. | 08:14:04 |
DavHau | Is there any nix command that I can use to get the corresponding store path for a given nar hash, assuming the store path exists in my local /nix/store? | 10:37:16 |
infinisil | In reply to @hsngrmpf:matrix.org Is there any nix command that I can use to get the corresponding store path for a given nar hash, assuming the store path exists in my local /nix/store? Not a Nix command, but you can make an sql query to the sqlite database in /var/nix/var | 10:49:21 |