ris has quit [Ping timeout: 258 seconds]
nD5Xjz_ has joined #nix-darwin
nD5Xjz has quit [Ping timeout: 246 seconds]
jtojnar has joined #nix-darwin
nD5Xjz has joined #nix-darwin
nD5Xjz_ has quit [Ping timeout: 255 seconds]
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nix-darwin
jtojnar has quit [Remote host closed the connection]
nD5Xjz_ has joined #nix-darwin
nD5Xjz has quit [Ping timeout: 246 seconds]
nD5Xjz_ has quit [Read error: Connection timed out]
nD5Xjz has joined #nix-darwin
myskran has quit [Ping timeout: 244 seconds]
nD5Xjz has quit [Ping timeout: 255 seconds]
nD5Xjz has joined #nix-darwin
<thefloweringash> darwin experts: I'm seeing different values for `getlogin` inside a nix build environment. One one mac it's "root", on another it's "nixbld1", and on another it's "_spotlight" (!!). Does this ring any bells?
<LnL> root!?
<LnL> can you run dscl . -read /Groups/nixbld GroupMembership on both
<thefloweringash> They both report: `GroupMembership: nixbld1 nixbld2 nixbld3 nixbld4 nixbld5 nixbld6 nixbld7 nixbld8 nixbld9 nixbld10`
<thefloweringash> The uid/euid is correct (30001)
<thefloweringash> Full context (including test script) here: https://github.com/NixOS/nixpkgs/pull/59702#issuecomment-485071411
<LnL> hmm, what about nix show-config | grep build-users-group
<thefloweringash> `build-users-group = nixbld` x3
<thefloweringash> They're all controlled by nix-darwin, with config from the same repo, with minor variations, and different nixpkgs versions. I'm assuming it's not misconfiguration, but then I don't have any better guesses.
<LnL> what does that snippet do exactly? I get my local user even tho the build user is correct
<LnL> ie it's running as one of the unprivileged nixbld users
<thefloweringash> it's calling posix "getlogin()" from my favorite high level language
<LnL> yeah but "is inherited by all processes descended from the login shell", the nix-daemon (root) is what starts the build process so I don't understand how my user gets there
<thefloweringash> I really don't understand how `_spotlight` is getting there either!
<LnL> if it returns the last user logged in that would explain both
<{^_^}> capistrano/capistrano#1520 (by felixbuenemann, 3 years ago, closed): local_user unreliable on Mac OS X
<LnL> aha, seems like it is indeed global instead of per process tree
<thefloweringash> yikes!
<LnL> regardless, this seems like the wrong thing to check against for those tests
ris has joined #nix-darwin
<gchristensen> LnL: 'round?
<LnL> hi, what's up?
<gchristensen> LnL: do you have a jobset you're watching which has a lot of darwin builds?
<gchristensen> darwin builds currently queued
<LnL> trunk still has a large queue I think
<LnL> and those are mostly the ones building atm
<gchristensen> cool. thank you :)
<gchristensen> I try to get clever and get burned
<gchristensen> I should just know by now that netboot is the way to be
<LnL> yay
<gchristensen> I'm annoyed that all the distributed filesystems are slow
<gchristensen> as it makes bringing these up harder
ris has quit [Ping timeout: 258 seconds]
<LnL> I made a pr for the extra status codes btw
<gchristensen> I saw!
<gchristensen> I meant to +1 it
<gchristensen> my hair will feel on fire until Iget this queue down thoughh
<LnL> oh jeeze, I have 11 open prs now
<gchristensen> :o
<gchristensen> omg we're below 2,000 queued
nD5Xjz has quit [Ping timeout: 250 seconds]
nD5Xjz has joined #nix-darwin
<LnL> I wish hydra had a restart job and all dependent builds
<gchristensen> yea metoo
<LnL> I think this is an intermittent failure, blocking 2k packages https://hydra.nixos.org/build/92407185
<gchristensen> restart all! :)
<LnL> yeah I know, just a bit annoying that it restarts everything and even then doesn't propagate to other jobsets
<gchristensen> yeah true
<gchristensen> I've wondered what Hydra would look like if its primary storage was a graph database
<gchristensen> interesting
<gchristensen> restarted jobs don't show up in "jobs per machine"
aminechikhaoui has quit [Quit: The Lounge - https://thelounge.github.io]
aminechikhaoui has joined #nix-darwin
<LnL> I think my machine is freaking out because of all the drv files I'm creating
<gchristensen> hah