samueldr changed the topic of #nixos-dev to: #nixos-dev NixOS Development (#nixos for questions) | NixOS 20.03 Feature Freeze Feb 10 https://discourse.nixos.org/t/nixos-20-03-feature-freeze/5655 | 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
drakonis has joined #nixos-dev
drakonis has quit [Client Quit]
edwtjo has joined #nixos-dev
edwtjo has joined #nixos-dev
edwtjo has quit [Changing host]
tdeo has quit [Quit: Quit]
tdeo has joined #nixos-dev
tdeo has joined #nixos-dev
tdeo has quit [Changing host]
ris has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 265 seconds]
claudiii has quit [Quit: Connection closed for inactivity]
drakonis has joined #nixos-dev
bhipple has joined #nixos-dev
ixxie has quit [Ping timeout: 246 seconds]
ixxie has joined #nixos-dev
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos-dev
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos-dev
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos-dev
phreedom_ has joined #nixos-dev
phreedom has quit [Ping timeout: 240 seconds]
drakonis has quit [Quit: WeeChat 2.6]
Haskellfant has joined #nixos-dev
Shados has quit [Quit: Shados]
cocreature has quit [Ping timeout: 240 seconds]
Haskellfant is now known as cocreature
Shados has joined #nixos-dev
ixxie has quit [Ping timeout: 260 seconds]
ixxie has joined #nixos-dev
lovesegfault has quit [Ping timeout: 260 seconds]
lovesegfault has joined #nixos-dev
lovesegfault has quit [Quit: WeeChat 2.7]
bhipple has quit [Remote host closed the connection]
cole-h has quit [Ping timeout: 240 seconds]
Cale has quit [Ping timeout: 240 seconds]
ixxie has quit [Ping timeout: 260 seconds]
Cale has joined #nixos-dev
rajivr___ has quit [Quit: Connection closed for inactivity]
Jackneill has joined #nixos-dev
worldofpeace has quit [Quit: killed]
jtojnar has quit [Quit: killed]
thefloweringash has quit [Quit: killed]
aanderse has quit [Quit: killed]
colemickens has quit [Quit: killed]
ma27[m] has quit [Quit: killed]
emily has quit [Quit: killed]
pkolloch[m] has quit [Quit: killed]
tokudan[m] has quit [Quit: killed]
__monty__ has joined #nixos-dev
psyanticy has joined #nixos-dev
emily has joined #nixos-dev
justanotheruser has quit [Ping timeout: 240 seconds]
claudiii has joined #nixos-dev
mkg20001 has joined #nixos-dev
thefloweringash has joined #nixos-dev
arcnmx has joined #nixos-dev
rycee has joined #nixos-dev
colemickens has joined #nixos-dev
vaibhavsagar has joined #nixos-dev
Ericson2314 has joined #nixos-dev
aanderse has joined #nixos-dev
ma27[m] has joined #nixos-dev
jtojnar has joined #nixos-dev
domenkozar[m] has joined #nixos-dev
dtz has joined #nixos-dev
worldofpeace has joined #nixos-dev
alienpirate5 has joined #nixos-dev
layus[m] has joined #nixos-dev
roberth has joined #nixos-dev
jonge[m] has joined #nixos-dev
pkolloch[m] has joined #nixos-dev
bennofs[m] has joined #nixos-dev
rnhmjoj has joined #nixos-dev
Nyanloutre[m] has joined #nixos-dev
timokau[m] has joined #nixos-dev
abbradar[m] has joined #nixos-dev
Ox4A6F has joined #nixos-dev
tokudan[m] has joined #nixos-dev
rajivr___ has joined #nixos-dev
<infinisil> gchristensen: Can you add the 20.03 channel to https://status.nixos.org/ ?
<gchristensen> literaly no
<gchristensen> once it evaluates, it will add :x
orivej has joined #nixos-dev
rnhmjoj has quit [Changing host]
rnhmjoj has joined #nixos-dev
rnhmjoj has joined #nixos-dev
<Taneb> gchristensen: any news re: that?
<infinisil> Ahh
<gchristensen> Taneb: I would look at the issue linked at the top of status.nixos.org, but haven't looked recently :)
<LnL> I looked at that for a bit yesterday but I can't evaluate everything with the current settings and don't have time to look anymore
<LnL> gchristensen: how much (free) memory does the hydra host have?
<gchristensen> mind if I get back to you in like 30min? I'm making breakfast and my gpg agent is busted, so not super easy tofind out :)
<rnhmjoj> gchristensen: if you update to 20.03/unstable and have GNUPGHOME you most likely run into this issue: https://github.com/NixOS/nixpkgs/issues/72597#issuecomment-549095697
<LnL> hmm, is it expected that all-packages.nix gets called multiple times when importing?
{^_^} has quit [Remote host closed the connection]
<Taneb> gchristensen: ah, thanks, I hadn't seen that issue
<gchristensen> LnL: that sounds surprising :)
{^_^} has joined #nixos-dev
orivej has quit [Ping timeout: 272 seconds]
claudiii has quit [Quit: Connection closed for inactivity]
justanotheruser has joined #nixos-dev
orivej has joined #nixos-dev
ixxie has joined #nixos-dev
<gchristensen> https://www.openssh.com/txt/release-8.2 with FIDO / U2F keys!
cole-h has joined #nixos-dev
ajs124 has quit [Remote host closed the connection]
das_j has quit [Remote host closed the connection]
Scriptkiddi has quit [Remote host closed the connection]
Scriptkiddi has joined #nixos-dev
das_j has joined #nixos-dev
ajs124 has joined #nixos-dev
phreedom_ has quit [Quit: No Ping reply in 180 seconds.]
phreedom has joined #nixos-dev
drakonis has joined #nixos-dev
phreedom has quit [Ping timeout: 240 seconds]
phreedom has joined #nixos-dev
phreedom has quit [Ping timeout: 240 seconds]
phreedom has joined #nixos-dev
ris has joined #nixos-dev
sogatori has joined #nixos-dev
<worldofpeace> FRidh: I noticed you added https://github.com/NixOS/nixpkgs/pull/79696 to the 20.03 milestone.
<{^_^}> #79696 (by tfc, 4 days ago, open): nixosTests.ec2: Port tests that depend on common/ec2.nix
<worldofpeace> Is that in support of backporting any further ports that are made?
CRTified has joined #nixos-dev
psyanticy has quit [Quit: Connection closed for inactivity]
<aminechikhaoui> quick hydra question: is there a way to specify a hydra build id as previous hydra build in the inputs ?
<gchristensen> interesting
<aminechikhaoui> ok I think it's just project:jobset:job:build-id
<aminechikhaoui> let's see if it works
claudiii has joined #nixos-dev
<aminechikhaoui> eh didn't work
<aminechikhaoui> ah it's just the build id
<aminechikhaoui> kinda make sense, just unfortunate one should read the code to figure it out :)
<gchristensen> write some docs? :P
zarel has quit [Ping timeout: 256 seconds]
zarel has joined #nixos-dev
kraem has quit [Quit: outta here]
zarel has quit [Ping timeout: 265 seconds]
zarel has joined #nixos-dev
sogatori has quit [Remote host closed the connection]
harrow has quit [Quit: Leaving]
ivan has quit [Quit: lp0 on fire]
ivan has joined #nixos-dev
lovesegfault has joined #nixos-dev
harrow has joined #nixos-dev
<infinisil> niksnut: While testing #78640 I found that `builtins.unsafeDiscardStringContext "${./foo}"` imports ./foo into the store, which I think it shouldn't
<{^_^}> https://github.com/NixOS/nixpkgs/pull/78640 (by Infinisil, 2 weeks ago, open): Add `types.secretPath`
<niksnut> why not? that's what "${./foo}" does normally
<infinisil> If it's used for something yes, but unsafeDiscardStringContext should arguably prevent this
<infinisil> Because the context is discarded, it's not a string that refers to any context afterwards, including the context of ./foo
<niksnut> so what should the result be?
<infinisil> The same as for derivations, "${pkgs.hello}" doesn't build hello to make the store path exist, so it's just the string of the store path where hello would end up
<infinisil> Similarly it would make sense for "${./foo}" to only compute the store path for the file, not actually import it
<infinisil> Although, I see that there's a problem with this: The contents could be changed inbetween computing the path and actually importing it
<infinisil> Well I guess that doesn't matter really, it's kind of part of the unsafe deal
<infinisil> (unsafe meaning you have no guarantee that the store path actually exists)
<niksnut> problem is that "${./foo}" already copies the path
<niksnut> the behaviour shouldn't change just because it's an argument to builtins.unsafeDiscardStringContext
<niksnut> I suppose copying could be delayed in general, but it would require carrying more context (namely the source path)
<infinisil> niksnut: Unfortunately I can't implement a safeish types.secretPath without this, since any check to determine whether a path (here "${./foo}") is in /nix/store will evaluate it, which will import it into the store, making it readable to everyone
<infinisil> If at all possible I think it's reasonable to make unsafeDiscardStringContext an exception to the copy-to-store rule for "${./foo}", because of its unsafeness
<infinisil> Although it would also make sense for `builtins.hasContext` (which would be very useful for types.secretPath too), because it only returns a boolean, only deciding whether it has context, which is entirely safe to do without importing anything into the store
claudiii has quit [Quit: Connection closed for inactivity]
__monty__ has quit [Quit: leaving]
<infinisil> niksnut: I opened an issue for this: https://github.com/NixOS/nix/issues/3358
<{^_^}> nix#3358 (by Infinisil, 15 seconds ago, open): `builtins.{unsafeDiscardStringContext,hasContext}` imports paths into the store
<gchristensen> I'm not surprised by that at all, since it is handing you a nix store path, it should be put in to the store
<emily> doesn't that apply to the derivation case too then
<gchristensen> "toString ./whatever" -- this doesn't return a store path, and so I wouldn't expect it to be in the store
<infinisil> gchristensen: In general yeah, but this is about unsafeDiscardStringContext, which explicitly discards the context
<infinisil> Meaning in whichever derivation it ends up with, that derivation won't depend on that store path
<infinisil> And because of this there's no reason those paths need to be imported into the store for it
bhipple has joined #nixos-dev
<infinisil> (which is what already happens to derivations, just not paths)