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
<gchristensen> hmm nix add-to-store should create a gc root
tilpner_ has joined #nixos-dev
tilpner has quit [Ping timeout: 260 seconds]
tilpner_ is now known as tilpner
ris has quit [Ping timeout: 260 seconds]
alp_ has quit [Ping timeout: 272 seconds]
rajivr has joined #nixos-dev
Emantor has quit [Quit: ZNC - http://znc.in]
orivej has quit [Ping timeout: 256 seconds]
Emantor has joined #nixos-dev
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
justanotheruser has quit [Ping timeout: 240 seconds]
m1cr0man has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
cole-h has joined #nixos-dev
cole-h_ has joined #nixos-dev
cole-h has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
cole-h_ has quit [Ping timeout: 256 seconds]
alp_ has joined #nixos-dev
zimbatm_ has joined #nixos-dev
zimbatm has quit [Ping timeout: 272 seconds]
alp_ has quit [Ping timeout: 272 seconds]
cdepillabout has joined #nixos-dev
__Sander__ has joined #nixos-dev
<andi-> arianvp: yeah
<Mic92> Does nixops's secrets work with initrd secrets? I am currently looking into support initrd secrets with sops-nix, but from the looks of it /run is mounted over my secrets deployed via initrd
<Mic92> I suppose I need a better location for initrd secrets
AlwaysLivid has joined #nixos-dev
cdepillabout has quit [Ping timeout: 246 seconds]
m1cr0man has joined #nixos-dev
__monty__ has joined #nixos-dev
madjar has joined #nixos-dev
zimbatm_ is now known as zimbatm
vcunat has joined #nixos-dev
ris has joined #nixos-dev
niksnut_ has joined #nixos-dev
alp_ has joined #nixos-dev
niksnut_ has quit [Remote host closed the connection]
niksnut has quit [Remote host closed the connection]
niksnut has joined #nixos-dev
cdepillabout has joined #nixos-dev
alp_ has quit [Ping timeout: 272 seconds]
<flokli> I suppose we need a better concept on where to store secrets in general ;-)
<flokli> or preserving them from initrd to regular boot.
alp_ has joined #nixos-dev
julm has quit [Ping timeout: 256 seconds]
noonien has joined #nixos-dev
alp_ has quit [Ping timeout: 272 seconds]
julm has joined #nixos-dev
noonien has quit []
julm_ has joined #nixos-dev
julm has quit [Quit: leaving]
cdepillabout has quit [Quit: Leaving]
<ryantm> https://nixos.org/manual/nixpkgs/stable/#sec-package-naming talks about adding "unstable" to package names. If package uses pname and version. Should "unstable" be in the pname or the version?
<ryantm> I'm not sure where to put the unstable. If it goes in the pname, then the pname doesn't match the attrpath which seems unfortunate. If you put it in the version, then the pname won't match the name returned by builtins.parseDrvName.
<ryantm> I think it is probably better to include "unstable" in the version, but I'm open to other suggestions. I'm sad I'm not aware of official consensus on this issue.
<qyliss> I think it should be in the version
<jtojnar> ryantm: I started it putting at the end of the version for now
<ryantm> Jan Tojnar: Ah, so then parseDrvName will return just "unstable" for the version?
<jtojnar> yeah, it just needs to start with a number
<jtojnar> like in cabal
<ryantm> > builtins.parseDrvName "blah-2020-10-17-unstable"
<{^_^}> { name = "blah"; version = "2020-10-17-unstable"; }
<ryantm> oh, cool!
<jtojnar> there are problems with it too
<jtojnar> nix-env compares versions with (>) to see if it should update, which might cause issues when the package is temporarily unstable
<jtojnar> but again, if we put it to pname, it has the same problem
<jtojnar> IMHO nix-env should just use (!=) to determine if it should update (if we do not remove it altogether 😉
<gchristensen> agreed jtojnar, otherwise even critical dependent library updates will not be applied
cole-h_ has joined #nixos-dev
<ma27[m]> Ericson2314: just in case you have time to, would you mind looking at eelcos comment in https://github.com/NixOS/hydra/pull/818#discussion_r502330627 ? :)
<Ericson2314> Sure
<ma27[m]> nice, thanks!
<ma27[m]> no rush though :)
julm_ is now known as julm
<ryantm> Jan Tojnar: qyliss I requested your review of my doc update for unstable https://github.com/NixOS/nixpkgs/pull/100833
<{^_^}> #100833 (by ryantm, 46 seconds ago, open): doc: update unstable-version package naming conventions
<jtojnar> ryantm++
<{^_^}> ryantm's karma got increased to 23
<jtojnar> ryantm: forgot to mention, there is actually second use case
<jtojnar> when there is both stable and unstable package
<jtojnar> and then it needs to go to name so that nix-env does not switch to unstable
<jtojnar> when people are using stable
<jtojnar> I really hope nix-command's nix-env replacement will not use derivation names
alp_ has joined #nixos-dev
<jtojnar> and that nix-env will be deprecated as soon as possible
<ryantm> Are you referring to the case where there are two top-level attrpaths one unstable and one stable?
<jtojnar> yup
<ryantm> Let's say we have attrpaths {package, package-unstable} then maybe pname = {package,package-unstable}, version = {"1.0","2020-10-17-unstable"}, name = {"package-1.0", "package-unstable-2020-10-17-unstable"}
<jtojnar> yeah, duplicating it in both pname and version for those packages would work, even though slightly less elegant
<ryantm> If that's acceptable, then the unstable in the pname is orthogonal to the version one. And we can have the rule that "the pname should match the attrpath" to cover it.
<ryantm> Of course, we don't follow that rule for nested attrpaths.
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos-dev
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos-dev
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos-dev
tilpner has quit [Remote host closed the connection]
<jtojnar> yeah, that sounds good to me
tilpner has joined #nixos-dev
vcunat has quit [Quit: Leaving.]
alp_ has quit [Ping timeout: 272 seconds]
jonringer has joined #nixos-dev
alp_ has joined #nixos-dev
__Sander__ has quit [Ping timeout: 256 seconds]
lopsided98 has quit [Quit: Disconnected]
alp_ has quit [Ping timeout: 272 seconds]
lopsided98 has joined #nixos-dev
__Sander__ has joined #nixos-dev
julm has quit [Ping timeout: 256 seconds]
madjar has quit [Quit: Connection closed for inactivity]
cole-h_ is now known as cole-h
alp_ has joined #nixos-dev
julm has joined #nixos-dev
__Sander__ has quit [Quit: Konversation terminated!]
rajivr has quit [Quit: Connection closed for inactivity]
devhell has joined #nixos-dev
<devhell> In case someone would like to merge #100073 I'd appreciate it :)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/100073 (by devhell, 1 week ago, open): teams: 1.3.00.16851 -> 1.3.00.25560
<stigo> devhell: done
<devhell> stigo: Thank you :D
devhell has quit [Quit: leaving]
<stigo> np :)
cole-h has quit [Ping timeout: 264 seconds]
tokudan has quit [Remote host closed the connection]
__monty__ has quit [Quit: leaving]
tokudan has joined #nixos-dev
tokudan has quit [Remote host closed the connection]
tokudan has joined #nixos-dev
alp_ has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 258 seconds]
AlwaysLivid has quit [Ping timeout: 272 seconds]
alp_ has joined #nixos-dev
init_6 has joined #nixos-dev
init_6 has quit [Client Quit]
justanotheruser has joined #nixos-dev