worldofpeace_ changed the topic of #nixos-dev to: #nixos-dev NixOS Development (#nixos for questions) | NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | https://r13y.com | 19.09 RMs: disasm, sphalerite; 20.03: worldofpeace, disasm | https://logs.nix.samueldr.com/nixos-dev
johnny101m2 has joined #nixos-dev
johnny101m has quit [Ping timeout: 244 seconds]
ixxie has quit [Ping timeout: 258 seconds]
<abathur> speculative question for anyone with a handle on nix-daemon internals; is it feasible to book-end the entire set of builds triggered by a single user invocation of nix with commands run as root in order to disable and re-enable an overzealous macOS security feature? :)
red[evilred] has joined #nixos-dev
<red[evilred]> You know what? Perl gave me 15 years of good honest work
<red[evilred]> so I'll never say a bad word about it
justanotheruser has joined #nixos-dev
justan0theruser has quit [Ping timeout: 244 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
alp has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 256 seconds]
drakonis has quit [Quit: WeeChat 2.8]
<cole-h> abathur: Something I thought of regarding your earlier question... would `pre-build-hook` and `post-build-hook` be acceptable?
<abathur> ugh this bug label making me look like a noob :(
<cole-h> It would only be able to disable the syspolicyd stuff when using a daemon install ("When using the nix-daemon, the daemon executes the hook as root. If the nix-daemon is not involved, the hook runs as the user executing the nix-build.")
<abathur> hmm
<abathur> maybe, assuming it's not significant that it's under post-build-hook but not pre
<cole-h> It looks like it only executes a program, so you'd probably have to make a shell script for it and pass that
<abathur> oh, it's each build though
<abathur> each build might be better than nothing--not sure
<abathur> it looks like it's taking 15-30ms an invocation on my system to enable/disable it
<cole-h> F
kalbasit has quit [Ping timeout: 256 seconds]
<abathur> which could add up, but may still be better than the time the assessments take
<abathur> dunno, good note though, I definitely wasn't aware of the hooks
<abathur> <3 cole-h
<{^_^}> cole-h's karma got increased to 78
<cole-h> abathur: Is there any reason one wouldn't want to disable syspolicyd and get rid of the problem altogether?
<cole-h> I haven't read anything about it, so I don't know if it's net-good or net-bad or neutral.
<abathur> yeah, I I don't really know how much "security" it provides
<abathur> fwiw I'm not certain it can be auto-durably-disabled by a normal user
<abathur> I think maybe mdm profiles can
<abathur> but I've seen references to it re-enabling
<abathur> dunno if on a schedule or on reboot or what
<cole-h> Sounds really annoying... lol
<abathur> I haven't really tried that out, though, it might be as simple as a bashrc/profile thing
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
<abathur> hmm, dunno; I think I set it up right but the hook isn't running; out of energy for debugging this late; will poke at it again tomorrow
cole-h has quit [Quit: Goodbye]
FRidh has joined #nixos-dev
FRidh has quit [Ping timeout: 240 seconds]
FRidh has joined #nixos-dev
orivej has joined #nixos-dev
alp has joined #nixos-dev
orivej has quit [Ping timeout: 272 seconds]
orivej has joined #nixos-dev
alp has quit [Ping timeout: 244 seconds]
ckauhaus has joined #nixos-dev
alp has joined #nixos-dev
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-dev
alp has quit [Remote host closed the connection]
alp_ has joined #nixos-dev
alp_ is now known as alp
ixxie has joined #nixos-dev
alp has quit [Ping timeout: 246 seconds]
alp has joined #nixos-dev
__monty__ has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
bennofs_ has joined #nixos-dev
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
bennofs has quit [Ping timeout: 246 seconds]
orivej has quit [Ping timeout: 272 seconds]
orivej_ has joined #nixos-dev
orivej_ has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-dev
ixxie has quit [Quit: Lost terminal]
FRidh has quit [Ping timeout: 258 seconds]
FRidh has joined #nixos-dev
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos-dev
alp has joined #nixos-dev
<gchristensen> domenkozar[m]: I think I've found a bug in the new Nix error handling code, but I'm super novice with gdb. I don't suppose you could help me?
<domenkozar[m]> best to ping Ben I think
<domenkozar[m]> he doesn't hang around IRC
<gchristensen> dang
<worldofpeace> hmm, noticing a weird thing with the cachix nix install action in a repo
<worldofpeace> domenkozar: any idea?
alp has quit [Ping timeout: 272 seconds]
<domenkozar[m]> probably need to upgrade to v10
<domenkozar[m]> don't remember which version added -L curl flag
<domenkozar[m]> oh ssl error, that's probably netlify?
<adisbladis> worldofpeace: I saw the same issue this morning on another repo, but it resolved itself
<worldofpeace> It seems to have happened twice when I re-ran it adisbladis . I guess there's no harm in upgrading to v10 domenkozar ?
<worldofpeace> erm, by twice I mean in two runs it resulted in failure every time
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos-dev
<worldofpeace> lol, I guess it worked https://github.com/elementary/session-settings/pull/34
<{^_^}> elementary/session-settings#34 (by worldofpeace, 3 minutes ago, open): Update install-nix-action to v10
alp has joined #nixos-dev
<domenkozar[m]> worldofpeace: btw, drop https://github.com/nix-dot-dev/getting-started-nix-template/blob/master/.github/dependabot.yml to get automatic PRs to update action versions
<domenkozar[m]> drop in*
FRidh has quit [Quit: Konversation terminated!]
<worldofpeace> domenkozar: awesome, automate all the things. Did that
<gchristensen> anyone seen this in nixUnstable? "terminate called after throwing an instance of 'boost::wrapexcept<boost::io::too_few_args>' what(): boost::too_few_args: format-string referred to more arguments than were passed" I'm having a bear of a time figuring out where it is coming from.
<gchristensen> nix-2.4pre7805_984e5213
<LnL> that's one of the boost fmt things
<gchristensen> yeah
<LnL> maybe there's a warning in the build log?
<gchristensen> I don't see any warnings or anything in the nix-build log output
<LnL> hmm, there are 2 fmt styles in the code IIRC one of which probably won't be detected by the compiler
<gchristensen> LnL: want to look at gdb over tmate? :)the debugger
<gchristensen> s/the debugger//
<LnL> sure, but I'm not sure familiar with that either
<abathur> cole-h tried hooks again; post-build was easy to get running, took a bit to figure out that pre-build only runs when sandbox = true
<gchristensen> me either
<LnL> is this a nix or dev build?
rsa has quit [Quit: leaving]
<gchristensen> `nix-build` of a packaged revision of Nix, but with debugging enabled and separateDebugInfo = false
<LnL> FYI there's something you can do in gdb to just load the separated debug info
<gchristensen> okay, cool, so the bug was minimized to `nix-build -E "assert false; true"` and it is no longer a bug on master
<LnL> oh man, I should update my nix build :D
<gchristensen> nixUnstable in nixpkgs is old enough to have the bug
<gchristensen> `assertion '((((builtins).trace version) version) == "1.3.2")' failed at` hmm
<LnL> I'm still on one of my last branches (before the nice errors)
ckauhaus has quit [Quit: WeeChat 2.7.1]
kalbasit has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
drakonis has joined #nixos-dev
alp has joined #nixos-dev
Jackneill has quit [Ping timeout: 256 seconds]
Jackneill has joined #nixos-dev
ixxie has joined #nixos-dev
justanotheruser has quit [Ping timeout: 244 seconds]
alp has quit [Ping timeout: 272 seconds]
alp has joined #nixos-dev
<gchristensen> it looks like rebooting a system with a degraded zpool can't succeed...
kalbasit has quit [Remote host closed the connection]
justanotheruser has joined #nixos-dev
teto has joined #nixos-dev
<mdlayher> due to attempting to unmount the zpool at reboot?
<gchristensen> it is failing at boot time
alp has quit [Ping timeout: 260 seconds]
cole-h has joined #nixos-dev
teto has quit [Ping timeout: 272 seconds]
johnny101m2 has quit [Quit: -a- Connection Timed Out]
johnny101m has joined #nixos-dev
alp has joined #nixos-dev
Cale has quit [Ping timeout: 244 seconds]
kalbasit has joined #nixos-dev
cole-h has quit [Quit: Goodbye]
Cale has joined #nixos-dev
teto has joined #nixos-dev
alp has quit [Ping timeout: 260 seconds]
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
drakonis has quit [Quit: WeeChat 2.8]
kalbasit has quit [Ping timeout: 258 seconds]
kalbasit has joined #nixos-dev
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-dev
alp has joined #nixos-dev
ixxie_ has joined #nixos-dev
<tilpner> (I rebooted my server, it froze mysteriously)
alp has quit [Ping timeout: 244 seconds]
julm has quit [Quit: reboot]
julm has joined #nixos-dev
ixxie_ has quit [Quit: Lost terminal]
alp has joined #nixos-dev
justanotheruser has quit [Ping timeout: 258 seconds]
justanotheruser has joined #nixos-dev
__monty__ has quit [Quit: leaving]
cole-h has joined #nixos-dev
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-dev
johnny101m has quit [Quit: -a- Connection Timed Out]
betawaffle has quit [Ping timeout: 240 seconds]
emilazy has quit [Ping timeout: 240 seconds]
alunduil has quit [Ping timeout: 246 seconds]
georgyo has quit [Ping timeout: 246 seconds]
johnny101m has joined #nixos-dev
teehemkay has quit [Ping timeout: 240 seconds]
alunduil has joined #nixos-dev
emilazy has joined #nixos-dev
betawaffle has joined #nixos-dev
cstrahan has quit [Ping timeout: 244 seconds]
mdlayher has quit [Ping timeout: 260 seconds]
georgyo has joined #nixos-dev
dmj` has quit [Ping timeout: 246 seconds]
angerman has quit [Ping timeout: 244 seconds]
feepo has quit [Ping timeout: 244 seconds]
chrisaw has quit [Ping timeout: 272 seconds]
prusnak has quit [Ping timeout: 272 seconds]
gleber has quit [Ping timeout: 246 seconds]
raboof has quit [Ping timeout: 260 seconds]
srhb has quit [Ping timeout: 244 seconds]
scott has quit [Ping timeout: 246 seconds]
jared-w has quit [Ping timeout: 244 seconds]
alunduil has quit [Ping timeout: 272 seconds]
betawaffle has quit [Ping timeout: 272 seconds]
zimbatm has quit [Ping timeout: 272 seconds]
thoughtpolice has quit [Ping timeout: 272 seconds]
terrorjack has quit [Ping timeout: 246 seconds]
cbarrett has quit [Ping timeout: 244 seconds]
elvishjerricco has quit [Ping timeout: 240 seconds]
teozkr_ has quit [Ping timeout: 260 seconds]
davidtwco has quit [Ping timeout: 260 seconds]
sorear has quit [Ping timeout: 244 seconds]
manveru has quit [Ping timeout: 272 seconds]
johanot has quit [Ping timeout: 246 seconds]
aristid has quit [Ping timeout: 260 seconds]
carter has quit [Ping timeout: 244 seconds]
ghuntley has quit [Ping timeout: 244 seconds]
georgyo has quit [Ping timeout: 244 seconds]
vdemeester has quit [Ping timeout: 272 seconds]
emilazy has quit [Ping timeout: 244 seconds]
aria has quit [Ping timeout: 244 seconds]
sdier has quit [Ping timeout: 265 seconds]
c00w has quit [Ping timeout: 265 seconds]
claudiii_ has quit [Ping timeout: 272 seconds]
drakonis has joined #nixos-dev
ixxie has quit [Quit: Lost terminal]