sphalerite changed the topic of #nixos-dev to: NixOS Development (#nixos for questions) | NixOS stable: 20.03 ✨ | 20.09 ZHF: https://discourse.nixos.org/t/nixos-20-09-zero-hydra-failures/8928 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | https://r13y.com | 20.03 RMs: worldofpeace, disasm; 20.09: worldofpeace, jonringer | https://logs.nix.samueldr.com/nixos-dev
jonringer has quit [Remote host closed the connection]
ris has quit [Ping timeout: 256 seconds]
rajivr has joined #nixos-dev
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
justanotheruser has quit [Ping timeout: 240 seconds]
justanotheruser has joined #nixos-dev
alp_ has quit [Remote host closed the connection]
AlwaysLivid has joined #nixos-dev
siraben has joined #nixos-dev
<siraben> Does edolstra hang around here? I'm wondering about https://github.com/edolstra/nixpkgs/commit/800bd373c0958d3fda355df9d1d0a49eea5815c8
<siraben> I want to be able to have a bootstrap to binutils and GCC like Guix does.
cdepillabout has joined #nixos-dev
cdepillabout has quit [Ping timeout: 265 seconds]
<janneke> siraben: you may want to ask xwvvvvwx and niksnut
<siraben> Ok, hopefully when they're online they see this.
<siraben> Oh hi drakonis :)
<drakonis> oh hi
<drakonis> this looks pretty cool
<drakonis> i'm pretty existed about that
justanotheruser has quit [Ping timeout: 240 seconds]
cole-h has joined #nixos-dev
cdepillabout has joined #nixos-dev
<{^_^}> firing: RootPartitionLowDiskSpace: https://status.nixos.org/prometheus/alerts
cdepillabout has quit [Ping timeout: 264 seconds]
<niksnut> siraben: I haven't done anything on that since then
cole-h has quit [Ping timeout: 240 seconds]
<siraben> niksnut: what state did you get it up to?
<LnL> niksnut: do you think there's a reasonable way for nix to determine whether a local install is single or multi-user?
<LnL> new people running a nix command as sudo because they run into an issue is pretty common but that results in a bunch more problems since nix changes permissions in the store
<LnL> I'm wondering if nix could bail out before touching anything in those cases
<{^_^}> resolved: RootPartitionLowDiskSpace: https://status.nixos.org/prometheus/alerts
ris has joined #nixos-dev
__Sander__ has joined #nixos-dev
__monty__ has joined #nixos-dev
cdepillabout has joined #nixos-dev
ckauhaus has quit [Quit: WeeChat 2.7.1]
cdepillabout has quit [Quit: Leaving]
cole-h has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
cole-h has quit [Ping timeout: 258 seconds]
alp has joined #nixos-dev
jpo has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
orivej has joined #nixos-dev
justanotheruser has joined #nixos-dev
tv has quit [Ping timeout: 256 seconds]
tv has joined #nixos-dev
stigo has quit [Remote host closed the connection]
stigo has joined #nixos-dev
stoile has joined #nixos-dev
<das_j> infinisil: Probably a question for you. Is there any reason the module system fails with `var.that.does.not.exist = mkIf false "test"`? I get that this is still an assignment to a non-existent option, but the module system strips that assignment later anyway
<das_j> Or is that just too hard to implement and not worth the effort?
<infinisil> das_j: I guess it would be problematic if you misspelled an option and it didn't even give an error
<infinisil> And you can always conditionally assign options based on whether they exist with the `options` argument
<das_j> Yeah, you're probably right :/
<infinisil> config = optionalAttrs (options ? var.that.does.not.exist) { var.that.does.not.exist = ...; }
<das_j> Just stumbled over it for something like `lib.mkIf (lib.versionOlder (lib.versions.majorMinor lib.version) "20.09")`
<das_j> huh? I can `options ?`? I always thought this results in an infinite recursion
<infinisil> If you use optionalAttrs (and not mkIf) it shouldn't
<das_j> cc ajs124
<infinisil> Hm actually maybe there could be a `mkIfExists` which only assigns an option if it exists
<das_j> While this increases complexity for only a minor benefit, I can see the benefit for myself ;)
<infinisil> It might be an antipattern to condition assigments based on option existence
<ajs124> in this case, we have to, because the options defaults to true, when it exists, but we want to have it false
<ajs124> at the same time, 20.09 removed the option, but we want out code to work on 20.03 and 20.09
<das_j> (it's services.nixosManual.showManual)
<infinisil> Ah I see
<infinisil> Yeah I guess for third-party backwards compat this is reasonable
<infinisil> Although, maybe modules should expose a version of themselves, which can be checked by other modules. And backwards compat can only be broken if you increase the version
<das_j> Well there could also be some stub thing. Something like `modules.stubOptions` which warns for each assigned option but does not fail
<das_j> (and which does not override existing options of course)
saschagrunert has joined #nixos-dev
saschagrunert has quit [Remote host closed the connection]
cole-h has joined #nixos-dev
nschoe has joined #nixos-dev
alp has joined #nixos-dev
rajivr has quit [Quit: Connection closed for inactivity]
alp has quit [Ping timeout: 272 seconds]
alp has joined #nixos-dev
evanjs has quit [Quit: ZNC 1.8.1 - https://znc.in]
evanjs has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
cole-h has quit [Ping timeout: 256 seconds]
<lovesegfault> Does anyone understand why it seems like hydra is just aborting trunk-combined builds left and right?
<samueldr> lovesegfault: always link a job when asking something about hydra
<samueldr> right, so following the most recent build:
<samueldr> its state is inherited from one of the failed constituents
<lovesegfault> Huh, unsupported system type
<lovesegfault> I hadn't seen that one before
<samueldr> previous ones were "Cancelled by user" https://hydra.nixos.org/build/128477597
<samueldr> (as seen under Status"
<samueldr> right, "Unsupported system type" is under Status too
<samueldr> I assumed it could have been "Cancelled by user" too, which means "someone cancelled it"
<samueldr> which is a bit unhelpful as we don't have the tradition to say jobs were cancelled
<samueldr> they can be for many reasons when cancelled by a user
<samueldr> but generally it'll be to expedite a mass rebuild by cancelling now-known-to-be-useless further mass rebuilds
<samueldr> though, uh, that unsupported system one is quite different than expected :)
* lovesegfault nods
alp has joined #nixos-dev
justanotheruser has quit [Ping timeout: 246 seconds]
__Sander__ has quit [Quit: Konversation terminated!]
__monty__ has quit [Quit: leaving]
<catern> it would be nice if by reviewing other PRs I could get my PRs reviewed, heh... like something formal, rather than just good karma
<samueldr> it would be nice if we actually owned the platform used for contributions
* samueldr sighs
<samueldr> though tbf, many contributors wouldn't be if it weren't for the lubricant that is github
<catern> i'd love to submit patches by email although that wouldn't really improve the review karma situation heh
alp has quit [Ping timeout: 272 seconds]
<hexa-> since karma isn't happening … more testing and automated merges after timeouts
Baughn has quit [Ping timeout: 240 seconds]
Baughn has joined #nixos-dev
justanotheruser has joined #nixos-dev