!zghijEASpYQWYFzriI:nixos.org

Hydra

391 Members
111 Servers

Load older messages


SenderMessageTime
27 Jan 2022
@grahamc:nixos.org@grahamc:nixos.orgyou might make it support x86_64-linux and add the "local" feature00:52:26
@grahamc:nixos.org@grahamc:nixos.org
        if (step->preferLocalBuild)
            features.insert("local");

00:53:01
@amanda:camnet.siteAmanda (she/her)ah00:53:07
@amanda:camnet.siteAmanda (she/her)But then it'll also get assigned proper builds as well won't it? Guess I should get around to replacing the fan in that machine anyway...00:53:43
@grahamc:nixos.org@grahamc:nixos.orgit gets a bit tricky with i686 being neede00:53:58
@grahamc:nixos.org@grahamc:nixos.orgif you didn't need that you could make "local" a mandatory feature00:54:09
@grahamc:nixos.org@grahamc:nixos.orgbut if you did that then you wouldn't build any i686 locally00:54:26
@amanda:camnet.siteAmanda (she/her)Hrm, and I've learned through experience you can't have two localhost entries00:54:41
@grahamc:nixos.org@grahamc:nixos.organd machines are keyed internally based on the hostname00:54:46
@amanda:camnet.siteAmanda (she/her)Yuuup, that was fun to figure out00:55:01
@amanda:camnet.siteAmanda (she/her)And you can't do any hostname schenanagins because nix explicitally checks for localhost to bypass the nix store lock loops00:55:37
@amanda:camnet.siteAmanda (she/her) * And you can't do any hostname schenanagins because nix explicitally checks for localhost to bypass the nix store lock loop00:55:39
@grahamc:nixos.org@grahamc:nixos.org right, and even more specifically it is keyed based on the sshName which is the hostname, minus users 00:57:23
@grahamc:nixos.org@grahamc:nixos.org ie: no trick like adding i686@localhost and x86_64@localhost entries 00:57:42
@grahamc:nixos.org@grahamc:nixos.org
newMachines[machine->sshName] = machine;
00:58:34
@amanda:camnet.siteAmanda (she/her) WEll, I'll leave this mess as a future-amanda problem, my spoons are gone, so I'll not really be able to motivate enough to do anything further. Thanks for the help so far, grahamc (he/him) -- guess I'll spend tomorrow meownign replacing the fan so that it's safe to build on the machine again 00:59:15
@grahamc:nixos.org@grahamc:nixos.orgit is unfortunate this is tricky00:59:41
@amanda:camnet.siteAmanda (she/her)Apparently nixbuild.net is planning on making it so that fixed-derevation builds are possible to use network somehow, but it's still in the planning phase. Maybe this could light a fire under that01:00:29
@grahamc:nixos.org@grahamc:nixos.orgcool01:00:41
@grahamc:nixos.org@grahamc:nixos.orgthey've got a great service01:00:46
@ckie:ckie.devmei 🌒&why not 127.0.0.{2,3}?01:00:59
@amanda:camnet.siteAmanda (she/her) ckie (they/them): nix holds a lock on the store. If you access it remotely, from the same machine, that lock gets double-locked, resulting in a hang 01:01:34
@grahamc:nixos.org@grahamc:nixos.org
    bool isLocalhost()
    {
        return sshName == "localhost";
    }

01:01:34
@ckie:ckie.devmei 🌒&ouch.. at least that sounds pretty easy to patch!01:01:52
@amanda:camnet.siteAmanda (she/her)nic explicitally checks that isLocalhost to bypass the double-lock problem01:02:07
@amanda:camnet.siteAmanda (she/her) * nix explicitally checks that isLocalhost to bypass the double-lock problem01:02:29
@ckie:ckie.devmei 🌒&you really are in a tight spot then01:02:47
@grahamc:nixos.org@grahamc:nixos.orgyeah, you could patch hydra without much trouble =)01:02:54
@ckie:ckie.devmei 🌒&i'm not sure if that's sarcasm01:03:43
@grahamc:nixos.org@grahamc:nixos.orgnot sarcasm!01:03:51

Show newer messages


Back to Room ListRoom Version: 6