!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

412 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.137 Servers

Load older messages


SenderMessageTime
2 Aug 2025
@raitobezarius:matrix.orgraitobezariusand we can even know if we were remote building or not16:46:52
@charles:computer.surgeryCharles

yes:

[root@blue:~]# docker run -it lix:2.94.0-devpre20250801_4efc888 nix --extra-experimental-features 'nix-command flakes' run nixpkgs#hello
warning: error: unable to download 'https://api.github.com/repos/NixOS/nixpkgs/commits/nixpkgs-unstable': Resolving timed out after 5000 milliseconds (curl error code=28); retrying in 302 ms (attempt 1/5)
warning: error: unable to download 'https://github.com/NixOS/nixpkgs/archive/c02d05bcf73fb496c604798c2268ed424a09e73e.tar.gz': Resolving timed out after 5001 milliseconds (curl error code=28); retrying in 250 ms (attempt 1/5)
warning: error: unable to download 'https://github.com/NixOS/nixpkgs/archive/c02d05bcf73fb496c604798c2268ed424a09e73e.tar.gz': Resolving timed out after 5001 milliseconds (curl error code=28); retrying in 646 ms (attempt 2/5)
error:
       … while fetching the input 'github:NixOS/nixpkgs/nixpkgs-unstable'

       error: uri https://github.com/NixOS/nixpkgs/archive/c02d05bcf73fb496c604798c2268ed424a09e73e.tar.gz changed final destination from https://github.com/NixOS/nixpkgs/archive/c02d05bcf73fb496c604798c2268ed424a09e73e.tar.gz to https://codeload.github.com/NixOS/nixpkgs/tar.gz/c02d05bcf73fb496c604798c2268ed424a09e73e during transfer

[root@blue:~]# docker run -it lix:2.94.0-devpre20250801_4efc888 nix --extra-experimental-features 'nix-command flakes' run nixpkgs#hello
warning: error: unable to download 'https://api.github.com/repos/NixOS/nixpkgs/commits/nixpkgs-unstable': Resolving timed out after 5002 milliseconds (curl error code=28); retrying in 322 ms (attempt 1/5)
warning: error: unable to download 'https://api.github.com/repos/NixOS/nixpkgs/commits/nixpkgs-unstable': Resolving timed out after 5000 milliseconds (curl error code=28); retrying in 572 ms (attempt 2/5)
warning: error: unable to download 'https://github.com/NixOS/nixpkgs/archive/c02d05bcf73fb496c604798c2268ed424a09e73e.tar.gz': Resolving timed out after 5003 milliseconds (curl error code=28); retrying in 272 ms (attempt 1/5)
error:
       … while fetching the input 'github:NixOS/nixpkgs/nixpkgs-unstable'

       error: uri https://github.com/NixOS/nixpkgs/archive/c02d05bcf73fb496c604798c2268ed424a09e73e.tar.gz changed final destination from https://github.com/NixOS/nixpkgs/archive/c02d05bcf73fb496c604798c2268ed424a09e73e.tar.gz to https://codeload.github.com/NixOS/nixpkgs/tar.gz/c02d05bcf73fb496c604798c2268ed424a09e73e during transfer

seems like maybe dns worked because the url changed but now it's mad about that for whatever reason?

20:10:49
@k900:0upti.meK900 I've hit this one too a few times 20:11:31
@k900:0upti.meK900 But it's very random 20:11:34
@k900:0upti.meK900It's like something is racing the redirect20:11:40
@charles:computer.surgeryCharles
Commit ID: 44a5ba269a60d5f4a7c68d42150ab10d36e2b20b
Change ID: qvolmxtvrmopzvsnvkmwktulkmxrqqmv
Author   : Charles Hall <charles@computer.surgery> (2025-08-02 13:02:15)
Committer: Charles Hall <charles@computer.surgery> (2025-08-02 13:12:46)

    hardcode nameservers for docker

    This works around various programs failing to be able to do DNS
    correctly inside docker containers due to the extra nameserver added
    by wg-air. Extremely annoying. Also lame that docker doesn't have a way
    to just denlylist nameservers instead of having to specify a fixed list.

diff --git a/nix/nixos-module/gitlab/default.nix b/nix/nixos-module/gitlab/default.nix
index cd77783c3c..93b0fedb18 100644
--- a/nix/nixos-module/gitlab/default.nix
+++ b/nix/nixos-module/gitlab/default.nix
@@ -15,7 +15,15 @@
   boot.kernel.sysctl."net.ipv4.ip_forward" = true;

   # Docker is required for gitlab-runner
-  virtualisation.docker.enable = true;
+  virtualisation.docker = {
+    enable = true;
+    daemon.settings.dns = [
+      "1.0.0.1"
+      "1.1.1.1"
+      "8.8.4.4"
+      "8.8.8.8"
+    ];
+  };

   services.gitlab = {
     enable = true;

i feel like just doing this is going to be my best bet tbh

20:29:38
@charles:computer.surgeryCharlesyay, my bugfix for lix-garage interop on garage's end got merged: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/111620:36:57
@raitobezarius:matrix.orgraitobezarius
In reply to @charles:computer.surgery

yes:

[root@blue:~]# docker run -it lix:2.94.0-devpre20250801_4efc888 nix --extra-experimental-features 'nix-command flakes' run nixpkgs#hello
warning: error: unable to download 'https://api.github.com/repos/NixOS/nixpkgs/commits/nixpkgs-unstable': Resolving timed out after 5000 milliseconds (curl error code=28); retrying in 302 ms (attempt 1/5)
warning: error: unable to download 'https://github.com/NixOS/nixpkgs/archive/c02d05bcf73fb496c604798c2268ed424a09e73e.tar.gz': Resolving timed out after 5001 milliseconds (curl error code=28); retrying in 250 ms (attempt 1/5)
warning: error: unable to download 'https://github.com/NixOS/nixpkgs/archive/c02d05bcf73fb496c604798c2268ed424a09e73e.tar.gz': Resolving timed out after 5001 milliseconds (curl error code=28); retrying in 646 ms (attempt 2/5)
error:
       … while fetching the input 'github:NixOS/nixpkgs/nixpkgs-unstable'

       error: uri https://github.com/NixOS/nixpkgs/archive/c02d05bcf73fb496c604798c2268ed424a09e73e.tar.gz changed final destination from https://github.com/NixOS/nixpkgs/archive/c02d05bcf73fb496c604798c2268ed424a09e73e.tar.gz to https://codeload.github.com/NixOS/nixpkgs/tar.gz/c02d05bcf73fb496c604798c2268ed424a09e73e during transfer

[root@blue:~]# docker run -it lix:2.94.0-devpre20250801_4efc888 nix --extra-experimental-features 'nix-command flakes' run nixpkgs#hello
warning: error: unable to download 'https://api.github.com/repos/NixOS/nixpkgs/commits/nixpkgs-unstable': Resolving timed out after 5002 milliseconds (curl error code=28); retrying in 322 ms (attempt 1/5)
warning: error: unable to download 'https://api.github.com/repos/NixOS/nixpkgs/commits/nixpkgs-unstable': Resolving timed out after 5000 milliseconds (curl error code=28); retrying in 572 ms (attempt 2/5)
warning: error: unable to download 'https://github.com/NixOS/nixpkgs/archive/c02d05bcf73fb496c604798c2268ed424a09e73e.tar.gz': Resolving timed out after 5003 milliseconds (curl error code=28); retrying in 272 ms (attempt 1/5)
error:
       … while fetching the input 'github:NixOS/nixpkgs/nixpkgs-unstable'

       error: uri https://github.com/NixOS/nixpkgs/archive/c02d05bcf73fb496c604798c2268ed424a09e73e.tar.gz changed final destination from https://github.com/NixOS/nixpkgs/archive/c02d05bcf73fb496c604798c2268ed424a09e73e.tar.gz to https://codeload.github.com/NixOS/nixpkgs/tar.gz/c02d05bcf73fb496c604798c2268ed424a09e73e during transfer

seems like maybe dns worked because the url changed but now it's mad about that for whatever reason?

i'm not sure why this happens but lix is doing the "right" thing here
22:49:32
@raitobezarius:matrix.orgraitobezariuswe cannot let a transfer bullshit us an URL and then change it last minute22:49:40
@raitobezarius:matrix.orgraitobezariusi will take a look if i can reproduce and check if GitHub is at fault or we have a bug somewhere else in the machinery22:50:26
3 Aug 2025
@helle:tacobelllabs.nethelle (just a stray cat girl)
In reply to @raitobezarius:matrix.org
i will take a look if i can reproduce and check if GitHub is at fault or we have a bug somewhere else in the machinery

according to jade and myself it most likely had a bug in the machinery

and we don't have any test suite coverage for it and we need to add the machinery for it

05:11:37
@helle:tacobelllabs.nethelle (just a stray cat girl)* according to jade and myself it most likely is a bug in the machinery and we don't have any test suite coverage for it and we need to add the machinery for it 05:12:37
@helle:tacobelllabs.nethelle (just a stray cat girl)(machinery being testing bad and weird http states, which due to how deeply we configure and add hooks to curl in lix, have failure modes not seen in curl itself05:13:57
@k900:0upti.meK900I have a stupid(?) idea07:46:54
@k900:0upti.meK900Should I duct tape systemd-inhibit to the build hook07:48:50
@helle:tacobelllabs.nethelle (just a stray cat girl)needs discussing, but is reasonable to consider 07:54:54
@k900:0upti.meK900Oh no logind doesn't have a C API for this07:56:51
@jade_:matrix.orgjade_no, because the build hook rejects if it's going to do a local build, so you have no idea whether a nix build is actively running08:39:53
@linus:schreibt.jetztLinux Hackermanso I've fixed cross-compilation (and the issue where I reported that it was broken was labelled as a release blocker). Would it make sense to add at least one cross build to CI, so it doesn't get broken by accident again? Or is that too costly?15:36:43
@raitobezarius:matrix.orgraitobezariusgo ahead16:19:30
@raitobezarius:matrix.orgraitobezariusadd it16:19:31
@raitobezarius:matrix.orgraitobezariuswe are a bit strained on x86 but that shall change soon I suppose16:19:41
@just1602:systemli.orgjust1602I was thinking about lix CI while listening to a podcast where someone from 0xide mention that a full rack has 2000 CPU core, 32TB of RAM and something like 250TB of storage.16:22:02
@just1602:systemli.orgjust1602I was like, just half a rack would be enough to fix all our CI issues16:22:12
@raitobezarius:matrix.orgraitobezariushahahahaha16:22:16
@raitobezarius:matrix.orgraitobezariusbut we don't have millions of euros on our hand alas16:22:22
@just1602:systemli.orgjust1602At some point, I hope they're gonna have enough client to sponsor some nice opensourc projects :D16:23:57
@aloisw:julia0815.dealoisw
In reply to @raitobezarius:matrix.org
we are a bit strained on x86 but that shall change soon I suppose
If you have enough aarch64 then I guess you could also do aarch64 -> x86_64 cross?
16:42:09
@raitobezarius:matrix.orgraitobezarius we do have more aarch64 16:42:20
@raitobezarius:matrix.orgraitobezariusat least, x86 is doing more work than aarch6416:42:25

Show newer messages


Back to Room ListRoom Version: 10