!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

947 Members
For people hacking on the Nix package manager itself199 Servers

Load older messages


SenderMessageTime
11 Dec 2024
@p14:matrix.orgp14

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:matrix.orgp14An 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:matrix.orgquery.roads joined the room.19:44:36
13 Dec 2024
@alethkit:matrix.org@alethkit:matrix.org left the room.10:34:07
14 Dec 2024
@sinan:sinanmohd.comsinan changed their profile picture.03:00:24
@domagojding:matrix.org@domagojding:matrix.org left the room.10:29:50
@silasdavis:one.ems.host@silasdavis:one.ems.host left the room.11:13:44
@hbakardzhiev:matrix.org@hbakardzhiev:matrix.org left the room.13:08:16
16 Dec 2024
@ole6edev:matrix.org@ole6edev:matrix.org left the room.02:54:55
@thangqt:matrix.orgthangqt joined the room.15:26:35
@jolly.roberts:matrix.org@jolly.roberts:matrix.org left the room.15:36:02
18 Dec 2024
@mahdikhaleghi:gitter.imEndureAhead joined the room.13:43:17
@tim126:matrix.orgtim126 joined the room.15:50:30
@dmiskovic:matrix.org@dmiskovic:matrix.org joined the room.19:36:19
19 Dec 2024
@matthewcroughan:defenestrate.itmatthewcroughanI'm now experiencing this on my NixOS machine itself, after upgrading to 2.25.x https://github.com/NixOS/nix/issues/1063014:48:00
@matthewcroughan:defenestrate.itmatthewcroughan Using nix-shell -p nixVersions.nix_2_24 fixes it, but I'll update the issue to reflect that. 14:48:33
@matthewcroughan:defenestrate.itmatthewcroughanProbably https://github.com/NixOS/nix/issues/10683 as well14:56:55
@matthewcroughan:defenestrate.itmatthewcroughanBasically for whatever reason things are going at like 50kbps for me on new nix :P14:58:23
@matthewcroughan:defenestrate.itmatthewcroughanhttps://nix.dev/manual/nix/2.24/command-ref/conf-file.html?highlight=determinism#conf-download-buffer-size14:58:55
@fgrsnau:matrix.orgStefan joined the room.21:43:59
20 Dec 2024
@0xfeebdaed:matrix.org0xfeebdaed joined the room.04:01:22
@jthulhu:matrix.orgjthulhu joined the room.08:14:04
@hsngrmpf:matrix.orgDavHauIs 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:matrix.orginfinisil
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
@hsngrmpf:matrix.orgDavHauOK thanks10:50:01
@xiaoxiangmoe:matrix.org@xiaoxiangmoe:matrix.org joined the room.13:58:22
@joerg:thalheim.ioMic92I implemented that for harmonia17:46:59
@joerg:thalheim.ioMic92 DavHau: https://github.com/nix-community/harmonia/blob/8cb82560d129c370a0c6c693425611e9396ef85c/src/daemon.rs#L584 17:48:40
@joerg:thalheim.ioMic92Maybe the c api for nix also exposes it. I now the perl-bindings do17:49:04
@joerg:thalheim.ioMic92Shallow clones help a bit. Until we get the pay off with lazy paths.17:50:09

Show newer messages


Back to Room ListRoom Version: 6