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
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
drakonis1 has joined #nixos-dev
drakonis_ has quit [Ping timeout: 256 seconds]
drakonis_ has joined #nixos-dev
bhipple has joined #nixos-dev
drakonis1 has quit [Ping timeout: 260 seconds]
alp has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 256 seconds]
drakonis has quit [Quit: WeeChat 2.8]
cole-h has quit [Quit: Goodbye]
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos-dev
calbrecht has quit [Remote host closed the connection]
calbrecht has joined #nixos-dev
bhipple has quit [Remote host closed the connection]
alp has joined #nixos-dev
<hyperfekt> lib.pathType currently can't be used for store paths because (i think) one cannot use a string with context to index an attrset. is this intentional?
__monty__ has joined #nixos-dev
<sphalerite> infinisil++ rfc42, though not yet merged, has been an excellent guideline for writing/refactoring a module and addresses the problems encountered really well
<{^_^}> infinisil's karma got increased to 298
<hyperfekt> niksnut: is there any reason in particular that prim_getAttr uses the NoCtx variant of forceString? The change dates back all the way to nix@d7efd7639420f4c840cbfdfcbbb3c45292f3ac54 but there's no detailed explanation why a string used to index an attribute set isn't allowed to have a context.
<infinisil> sphalerite: Hehe thanks, though with #82743 this will change a bunch
<{^_^}> https://github.com/NixOS/nixpkgs/pull/82743 (by Infinisil, 10 weeks ago, open): Fallback-typing for NixOS modules
<niksnut> hyperfekt: well attribute names don't have a context
<niksnut> so a string with context cannot exist as a key in an attrset
orivej has joined #nixos-dev
<hyperfekt> niksnut: that's certainly true - but why not drop any context attached to a string used to look up in an attrset?
alp has quit [Ping timeout: 260 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
alp has joined #nixos-dev
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 272 seconds]
orivej_ has joined #nixos-dev
b42 has quit [Ping timeout: 260 seconds]
orivej_ has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
<jtojnar> `git add --intent-to-add` used by flakes is cool, TIL
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
drakonis has joined #nixos-dev
drakonis_ has quit [Read error: Connection reset by peer]
b42 has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
<domenkozar[m]> oh man
<domenkozar[m]> new install-nix-action will install Nix in 7s :D
<domenkozar[m]> probably even 5s with less users
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-dev
<LnL> whoa :D
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
<domenkozar[m]> macos still takes longer, but around 30s
<domenkozar[m]> better than previous 90s
<domenkozar[m]> might get it to 20s :)
<domenkozar[m]> LnL: do you think I should enable darwin sandboxing by default?
<domenkozar[m]> :D
<LnL> no, nixpkgs isn't ready for that :/
<domenkozar[m]> ah even hydra doesn't use that?
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
<gchristensen> domenkozar[m]: nope
<gchristensen> heh
<domenkozar[m]> yikes
<emily> hm, it's that bad?
<emily> I thought the sandboxing was just less airtight :(
<gchristensen> it does have a sandbox
<gchristensen> but the option to enable darwin sandboxing turns on the "sandbox like nix on linux" mode, which is much stricter
orivej_ has joined #nixos-dev
orivej has quit [Ping timeout: 264 seconds]
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos-dev
justanotheruser has quit [Ping timeout: 260 seconds]
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 272 seconds]
orivej has joined #nixos-dev
orivej_ has quit [Ping timeout: 272 seconds]
justanotheruser has joined #nixos-dev
Cale has quit [Ping timeout: 240 seconds]
<matthewbauer> Is there a meaningful difference between "substituters" / binary caches and "hashed-mirrors"? From what I can tell they are both just substituting things with the caveat that hashed-mirrors can only support "flat" hashes
<matthewbauer> I wonder if I could merge the two options?
<matthewbauer> (the url scheme looks slightly different though)
drakonis has joined #nixos-dev
drakonis_ has quit [Ping timeout: 244 seconds]
orivej_ has joined #nixos-dev
orivej has quit [Ping timeout: 265 seconds]
cole-h has joined #nixos-dev
<LnL> yeah, hashed mirrors are content addressed
<matthewbauer> but substituters can be content addressed right?
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-dev
<LnL> substituters use the store path hash
drakonis1 has joined #nixos-dev
<matthewbauer> given a hashed mirror, i should be able to construct a store path hash for it, I think
burkelibbey_ has joined #nixos-dev
Cale has joined #nixos-dev
claudiii has quit [Ping timeout: 240 seconds]
angerman has quit [Ping timeout: 260 seconds]
<Ericson2314> sounds like we should just have more content addressing with regular substitutors then
orivej has quit [Ping timeout: 246 seconds]
georgyo has quit [Ping timeout: 260 seconds]
<Ericson2314> LnL: in particular, a content addressed path does need to worry about the store path dir of the things it references, but it shouldn't know about it's own store path dir
orivej has joined #nixos-dev
emilazy has quit [Ping timeout: 272 seconds]
<Ericson2314> So in the common fixed output case where it doesn't reference anything, it shouldn't know about store paths at all
betawaffle has quit [Ping timeout: 246 seconds]
betawaffle has joined #nixos-dev
emilazy has joined #nixos-dev
betawaffle has quit [Max SendQ exceeded]
emilazy has quit [Ping timeout: 272 seconds]
angerman has joined #nixos-dev
betawaffle has joined #nixos-dev
georgyo has joined #nixos-dev
emilazy has joined #nixos-dev
claudiii has joined #nixos-dev
orivej has quit [Read error: Connection reset by peer]
orivej_ has joined #nixos-dev
orivej_ has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-dev
drakonis1 has quit [Quit: WeeChat 2.8]
calbrecht has quit [Ping timeout: 272 seconds]
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 260 seconds]
drakonis1 has joined #nixos-dev
drakonis_ has quit [Read error: Connection reset by peer]
alp has quit [Ping timeout: 265 seconds]
orivej_ has joined #nixos-dev
calbrecht has joined #nixos-dev
orivej has quit [Ping timeout: 272 seconds]
drakonis_ has joined #nixos-dev
drakonis1 has quit [Ping timeout: 272 seconds]
orivej_ has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
alp has joined #nixos-dev
justanotheruser has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
drakonis has joined #nixos-dev
joko has quit [Quit: WeeChat 2.6]
drakonis_ has quit [Ping timeout: 272 seconds]
justanotheruser has joined #nixos-dev
asbachb has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
alp has quit [Ping timeout: 246 seconds]
drakonis1 has joined #nixos-dev
<asbachb> Any thoughts on this: https://github.com/NixOS/nixpkgs/issues/88817 ? I want to prepare a patch. But am a little bit unsure if the original option should be deprecated in favour of `sslServerCert` and `sslClientCert` (...).
<{^_^}> #88817 (by asbachb, 1 day ago, open): postfix: Server certificate is used as client certificate too
asbachb has quit [Remote host closed the connection]
asbachb has joined #nixos-dev
orivej has quit [Ping timeout: 272 seconds]
orivej has joined #nixos-dev
orivej_ has joined #nixos-dev
orivej has quit [Ping timeout: 265 seconds]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
asbachb has quit [Ping timeout: 245 seconds]
orivej has joined #nixos-dev
kgz has quit [Ping timeout: 260 seconds]
kgz has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
alp has joined #nixos-dev
__monty__ has quit [Quit: leaving]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
burkelibbey_ has quit [Quit: Connection closed for inactivity]
justanotheruser has quit [Ping timeout: 265 seconds]
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-dev
justanotheruser has joined #nixos-dev
niksnut has quit [Ping timeout: 260 seconds]