samueldr changed the topic of #nixos-dev to: #nixos-dev NixOS Development (#nixos for questions) | NixOS 19.09 is released! https://discourse.nixos.org/t/nixos-19-09-release/4306 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | https://r13y.com | 19.09 RMs: disasm, sphalerite | https://logs.nix.samueldr.com/nixos-dev
drakonis has quit [Ping timeout: 276 seconds]
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-dev
drakonis has joined #nixos-dev
ris has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 250 seconds]
mmlb has joined #nixos-dev
evanjs has quit [Ping timeout: 250 seconds]
drakonis has quit [Quit: WeeChat 2.6]
brightone has joined #nixos-dev
phreedom has quit [Ping timeout: 260 seconds]
brightone has quit [Ping timeout: 265 seconds]
phreedom has joined #nixos-dev
pie_ has quit [Ping timeout: 265 seconds]
Jackneill has joined #nixos-dev
averell has quit [*.net *.split]
catern has quit [*.net *.split]
kalbasit has quit [*.net *.split]
kalbasit has joined #nixos-dev
catern has joined #nixos-dev
averell has joined #nixos-dev
averell has quit [Max SendQ exceeded]
catern has quit [Max SendQ exceeded]
averell has joined #nixos-dev
catern has joined #nixos-dev
__monty__ has joined #nixos-dev
<ckauhaus> re gscan2pdf: the test 't/166_cancel_import.t' seems to get stuck on Hydra
<ckauhaus> runs fine locally
* ckauhaus reads the source
orivej has joined #nixos-dev
kalbasit has quit [*.net *.split]
puck has quit [*.net *.split]
nbp has quit [*.net *.split]
kreisys has quit [*.net *.split]
noonien has quit [*.net *.split]
delroth has quit [*.net *.split]
ajs124 has quit [*.net *.split]
Scriptkiddi has quit [*.net *.split]
das_j has quit [*.net *.split]
{^_^} has quit [*.net *.split]
sphalerite_ has quit [*.net *.split]
globin_ has quit [*.net *.split]
cbarrett has quit [*.net *.split]
yorick has quit [*.net *.split]
Nyanloutre[m] has quit [*.net *.split]
lassulus has quit [*.net *.split]
octe has quit [*.net *.split]
mjsir911 has quit [*.net *.split]
callahad87 has quit [*.net *.split]
sdier has quit [*.net *.split]
aria has quit [*.net *.split]
fpletz has quit [*.net *.split]
Profpatsch has quit [*.net *.split]
chaker has quit [*.net *.split]
rajivr___ has quit [*.net *.split]
fuzen has quit [*.net *.split]
primeos has quit [*.net *.split]
nwspk has quit [*.net *.split]
johanot has quit [*.net *.split]
davidtwco has quit [*.net *.split]
teozkr has quit [*.net *.split]
vdemeester has quit [*.net *.split]
tazjin has quit [*.net *.split]
zimbatm has quit [*.net *.split]
orivej has quit [*.net *.split]
justan0theruser has quit [*.net *.split]
kgz has quit [*.net *.split]
niksnut has quit [*.net *.split]
clever has quit [*.net *.split]
obadz has quit [*.net *.split]
edef has quit [*.net *.split]
adisbladis has quit [*.net *.split]
__monty__ has quit [*.net *.split]
infinisil has quit [*.net *.split]
cransom has quit [*.net *.split]
simpson has quit [*.net *.split]
flokli has quit [*.net *.split]
ashkitten has quit [*.net *.split]
gchristensen has quit [*.net *.split]
ryantm has quit [*.net *.split]
hexa- has quit [*.net *.split]
emily has quit [*.net *.split]
kcalvinalvnn has quit [*.net *.split]
ivan has quit [*.net *.split]
NinjaTrappeur has quit [*.net *.split]
Mic92 has quit [*.net *.split]
harrow has quit [*.net *.split]
srhb has quit [*.net *.split]
qyliss has quit [*.net *.split]
makefu has quit [*.net *.split]
teehemkay has quit [*.net *.split]
tetdim has quit [*.net *.split]
Ox4A6F has quit [*.net *.split]
lassulus has joined #nixos-dev
octe has joined #nixos-dev
yorick has joined #nixos-dev
Nyanloutre[m] has joined #nixos-dev
cbarrett has joined #nixos-dev
callahad87 has joined #nixos-dev
mjsir911 has joined #nixos-dev
fpletz has joined #nixos-dev
Profpatsch has joined #nixos-dev
globin_ has joined #nixos-dev
fuzen has joined #nixos-dev
davidtwco has joined #nixos-dev
primeos has joined #nixos-dev
nwspk has joined #nixos-dev
{^_^} has joined #nixos-dev
chaker has joined #nixos-dev
rajivr___ has joined #nixos-dev
vdemeester has joined #nixos-dev
tazjin has joined #nixos-dev
sdier has joined #nixos-dev
johanot has joined #nixos-dev
sphalerite_ has joined #nixos-dev
teozkr has joined #nixos-dev
aria has joined #nixos-dev
zimbatm has joined #nixos-dev
kalbasit has joined #nixos-dev
cbarrett has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
justan0theruser has joined #nixos-dev
niksnut has joined #nixos-dev
clever has joined #nixos-dev
kgz has joined #nixos-dev
obadz has joined #nixos-dev
adisbladis has joined #nixos-dev
edef has joined #nixos-dev
kalbasit has quit [*.net *.split]
{^_^} has quit [*.net *.split]
sphalerite_ has quit [*.net *.split]
globin_ has quit [*.net *.split]
yorick has quit [*.net *.split]
Nyanloutre[m] has quit [*.net *.split]
lassulus has quit [*.net *.split]
octe has quit [*.net *.split]
mjsir911 has quit [*.net *.split]
callahad87 has quit [*.net *.split]
sdier has quit [*.net *.split]
aria has quit [*.net *.split]
fpletz has quit [*.net *.split]
Profpatsch has quit [*.net *.split]
chaker has quit [*.net *.split]
rajivr___ has quit [*.net *.split]
fuzen has quit [*.net *.split]
primeos has quit [*.net *.split]
nwspk has quit [*.net *.split]
johanot has quit [*.net *.split]
davidtwco has quit [*.net *.split]
vdemeester has quit [*.net *.split]
teozkr has quit [*.net *.split]
tazjin has quit [*.net *.split]
zimbatm has quit [*.net *.split]
octe has joined #nixos-dev
yorick has joined #nixos-dev
Nyanloutre[m] has joined #nixos-dev
lassulus has joined #nixos-dev
sphalerite_ has joined #nixos-dev
globin_ has joined #nixos-dev
sdier has joined #nixos-dev
aria has joined #nixos-dev
callahad87 has joined #nixos-dev
{^_^} has joined #nixos-dev
fpletz has joined #nixos-dev
mjsir911 has joined #nixos-dev
kalbasit has joined #nixos-dev
nwspk has joined #nixos-dev
rajivr___ has joined #nixos-dev
fuzen has joined #nixos-dev
chaker has joined #nixos-dev
Profpatsch has joined #nixos-dev
davidtwco has joined #nixos-dev
johanot has joined #nixos-dev
primeos has joined #nixos-dev
vdemeester has joined #nixos-dev
tazjin has joined #nixos-dev
zimbatm has joined #nixos-dev
teozkr has joined #nixos-dev
ajs124 has joined #nixos-dev
delroth has joined #nixos-dev
kreisys has joined #nixos-dev
cbarrett has joined #nixos-dev
das_j has joined #nixos-dev
Scriptkiddi has joined #nixos-dev
cbarrett has quit [Changing host]
cbarrett has joined #nixos-dev
nbp has joined #nixos-dev
puck has joined #nixos-dev
Ox4A6F has joined #nixos-dev
noonien has joined #nixos-dev
__monty__ has joined #nixos-dev
ryantm has joined #nixos-dev
kcalvinalvnn has joined #nixos-dev
hexa- has joined #nixos-dev
emily has joined #nixos-dev
ivan has joined #nixos-dev
ashkitten has joined #nixos-dev
gchristensen has joined #nixos-dev
flokli has joined #nixos-dev
simpson has joined #nixos-dev
qyliss has joined #nixos-dev
Mic92 has joined #nixos-dev
cransom has joined #nixos-dev
NinjaTrappeur has joined #nixos-dev
srhb has joined #nixos-dev
tetdim has joined #nixos-dev
harrow has joined #nixos-dev
infinisil has joined #nixos-dev
teehemkay has joined #nixos-dev
makefu has joined #nixos-dev
noonien has joined #nixos-dev
noonien has quit [Changing host]
hexa- has quit [Max SendQ exceeded]
hexa- has joined #nixos-dev
<ckauhaus> Hydra says that it cannot find 'splitVersion' but I don't understand why
<ckauhaus> cannot reproduce the problem locally
<ckauhaus> and the source says 'with stdenv.lib' earlier on so there should be no problem
<ckauhaus> I see that Hydra uses nix-2.4pre
<ckauhaus> has anything relevant changed?
<michaelpj> was only fixed recently on 19.09, maybe you're just not recent enough? https://github.com/NixOS/nixpkgs/pull/74823
<{^_^}> #74823 (by jonringer, 3 days ago, merged): [19.09] lib/versions: expose splitVersion
<ckauhaus> ic
<ckauhaus> I'll backmerge that into staging-19.09 to unblock it
<ckauhaus> now Hydra seems to be going
<ckauhaus> michaelpj: thanks!
pie_ has joined #nixos-dev
orivej has quit [Ping timeout: 268 seconds]
FRidh has quit [Quit: Konversation terminated!]
FRidh has joined #nixos-dev
<jtojnar> that makes no frigging sense
__monty__ has quit [Quit: leaving]
<jtojnar> wait, we have nullopt enabled in builders?
<jtojnar> s/nullopt/nullglob/
<jtojnar> that's just messed up
teto has joined #nixos-dev
orivej has joined #nixos-dev
eraserhd has quit [Quit: WeeChat 2.6]
eraserhd has joined #nixos-dev
drakonis has joined #nixos-dev
<yorick> anyone got a nix expression for the emacs thing? qyliss?
<qyliss> Yeah I do
<qyliss> hang on
<qyliss> yorick: https://0x0.st/zlES.txt
evanjs has joined #nixos-dev
<yorick> qyliss: thanks! :)
drakonis has quit [Quit: WeeChat 2.6]
drakonis has joined #nixos-dev
<Profpatsch> Is nixpkgs still compatible with nix <2.0?
<Taneb> Profpatsch: I don't believe so
<infinisil> > builtins.readFile <nixpkgs/lib/minver.nix>
<{^_^}> "# Expose the minimum required version for evaluating Nixpkgs\n\"2.0\"\n"
<infinisil> Profpatsch: ^
phreedom has quit [Ping timeout: 260 seconds]
<infinisil> globin_ niksnut rycee (who isn't here apparently) fpletz: RFC 42 discussion in a bit?
rycee has joined #nixos-dev
<rycee> Hey, hey.
<infinisil> :D
<rycee> But no start for another 20 minutes?
<rycee> Then there is time to go to the store :-)
<infinisil> Yeah I'd say
<infinisil> Unless somebody ( globin_ ?) has something else, I'll make a jitsi meeting for then
Jackneill has quit [Remote host closed the connection]
<rycee> Anybody have idea of how difficult it would be to add a `removed` attribute to `mkOption`? With the idea of supporting e.g. `removed = !(versionAtLeast config.system.stateVersion "20.03")`. The option value could be `null` or something if the option removed.
<rycee> Perhaps `removed = versionAtLeast config.system.stateVersion "20.03"` makes more sense :-)
<samueldr> what should happen with documentation?
<samueldr> the documentation doesn't have "a" stateVersion
<infinisil> rycee: `visible = ! versionAtLeast ...`?
<samueldr> I guess the answer is something like "add a note that with stateVersion xx.yy the option is not available"
<infinisil> Though I guess yeah that doesnt' work because no stateVersion
<samueldr> stateVersion should be transparent from options AFAIK, only used to deal with state
<infinisil> Well it would work, but it might not coincide with the users choice
<samueldr> and it's not really a user choice, which stateVersion they run
<samueldr> it's more of a coincidence
<rycee> Yeah, I was thinking for it to include some warning message.
<rycee> But just now I remembered that `mkRemovedOptionModule` exits :-)
<infinisil> rycee globin_ niksnut fpletz: https://meet.jit.si/NixRFC42
<samueldr> conditional on stateVersion?
<rycee> samueldr: True, it seems tricky to make `mkRemovedOptionModule` conditional on the state version.
<samueldr> I wouldn't say tricky... probably misguided though
<samueldr> what is the actual use case?
<samueldr> the context will help in figuring out how to handle this
<infinisil> rycee: Can you hear me?
<rycee> I think I heard you :-)
<infinisil> globin_ niksnut fpletz: Ping again, rycee me are waiting :) https://meet.jit.si/NixRFC42
<infinisil> s/me/and me/
<infinisil> Alright we've ended the call for now, holding off until everybody's present
<drakonis> just a quick nitpick wrt rfc pr names
<drakonis> rfc 53 doesnt have brackets surrounding it
<drakonis> despite being closed it still annoys me a bit because it is taking up a slot
<drakonis> rfcs 55 and 59 have a dash
<drakonis> title nitpicks
<drakonis> ah nevermind, there were other rfcs that were merged without the title style, so it is just a pointless thing to complain about
<rycee> infinisil: I'll step out for a bit to finally go to the store before they close. Will be back in at most 30 min or so.
<fpletz> infinisil: whut? did I miss the announcement for the meeting? not available since I made other plans already
<niksnut> infinisil: sorry, didn't realize we're meeting today... :-(
<infinisil> I think i announced it here, guess i'll send a mail next time
<infinisil> Sorry, haven't done such planning before :)
<niksnut> irssi only highlights messages for me if a line starts with "niksnut:"
<niksnut> yeah mail is better :-)
<infinisil> Ahh, I'll ping everybody like that next time then (plus mail)
<drakonis> nodejs packages are automatically generated, right?
<drakonis> if so, it appears i have found a issue with the generation script, it creates packages with .js and this causes nix-shell to flip out when trying to create an environment
nbp has quit [Quit: Lost terminal]
ris has joined #nixos-dev
nbp has joined #nixos-dev
<gchristensen> the wireguard module will need to be updated, for https://lists.zx2c4.com/pipermail/wireguard/2019-December/004679.html
<infinisil> Huh, is there no way to set database passwords for locally created ones?
<infinisil> In NixOS directly
<infinisil> It seems that all modules using databases in nixos don't allow you to set passwords when createLocally is true
<infinisil> I guess I might do that
<infinisil> aanderse: Do you have any opinion on setting passwords with createLocally?
<infinisil> Ah there's some more occurences with `CREATE ROLE` in miniflux, mattermost and gitlab
nbp has quit [Remote host closed the connection]
<gchristensen> Nix shouldn't set passwords
nbp has joined #nixos-dev
<infinisil> Huh why not?
<gchristensen> the passwords end up in the store
<infinisil> No I'd be using passwordFile
<infinisil> And make sure that can't happen (unless the user explicitly puts it in)
<gchristensen> ah
drakonis has quit [Quit: WeeChat 2.6]
<aanderse> infinisil: most (probably all) modules don't support passwords with `database.createLocally`
<infinisil> Yeah I noticed
<aanderse> my opinion is that it wouldn't be as useful as one might think
<aanderse> if the database is hosted locally then you should use a socket
<aanderse> if the database is not hosted locally
<aanderse> maybe you don't want nixos running your migrations for you...
<aanderse> or provisioning your database, etc...
<aanderse> unsure
<aanderse> reasons i personally would run database on a separate server? performance
<aanderse> if i'm dealing with something that has those sorts of performance requirements i'm not sure how often i'll want nixos managing things
<infinisil> aanderse: I want to use a database both locally and remotely
<infinisil> create it automatically locally
<infinisil> I need a password so the remote end can access it
<infinisil> But locally I can use socket auth
<aanderse> yeah the youtube like app you were talking about right?
<infinisil> Yup!
<infinisil> Working on it again
<aanderse> so in that case i think you're best to just go with createLocally, using socket....
<gchristensen> (I'm still not sure about nixos setting credentials, since it is an imperative action and removing the user from the configuration doesn't remove it from the database)
<infinisil> aanderse: Well but I still need a password
<aanderse> then provisioning users via a separate script maybe
<aanderse> ** provisioning external users via a separate script maybe
<infinisil> I don't want to use an imperative script just to have a service work
<infinisil> I want `services.invidious = { enable = true; database.passwordFile = ...; }` all be needed to allow other machines to use the local database
<aanderse> gchristensen: some day i come to boston area and you tell me about your thoughts on services.mysql.ensure* in detail :)
<gchristensen> okay, but I'll have to also go to boston :P
<aanderse> infinisil: i'll speak to mysql specifically right now... but those are 2 different users
<aanderse> gchristensen: aren't you in boston area?
<infinisil> Not sure what you mean by that
<gchristensen> I'm actually in the farthest west part of the state
<aanderse> infinisil: invidious@localhost is one user, which uses socket authentication. invidious@remoteIP is a second user, which uses password authentication
<aanderse> those 2 separate users have half of their username the same... but they are not the same user
<aanderse> so you're asking how you can provision 2 separate users
<infinisil> And why would I want that instead of just a single user?
<aanderse> i don't think database.* should ever create 2 separate users
<infinisil> Yeah a single user should work just fine
<gchristensen> aanderse: heh, that trivia about mysql users tripped me up *hard* a few years ago.
<aanderse> the @ symbol isn't just for fun, it is important. a remote user can never authenticate as @localhost
<aanderse> ever
<aanderse> the @localhost or @remoteIP controls where the user must be
<aanderse> gchristensen: yeah, i can't recall how other dbs do it because i've been so deep in mariadb/mysql land for the past 5-7 years...
<aanderse> infinisil: so if you use socket authentication that user can never be accessed outside the local box, even if you set a password
<infinisil> Oh and this is with mysql?
<aanderse> yes
<infinisil> invidious only works with postgresql
<infinisil> But I guess that's something to consider for other services
<aanderse> right. ok. i don't recall off the top of my head how postgres limits users
<aanderse> i have only had to use postgres a couple times, and rarely as a sysadmin
<infinisil> I think it should work, I'll just try it out with setting a password with `ALTER ROLE`
<ivan> how do I get the hash for this on a linux machine?
<ivan> error: a 'x86_64-darwin' with features {} is required to build '/nix/store/wq16nq31nk5q9imkqfkrg4sw584syjh4-VSCodium-darwin-1.40.2.zip.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}
<clever> ivan: run `nix-store --query --binding out` on the drv file
<clever> if you just want its $out path
<ivan> er, the hash for the source I mean
<ivan> I'm bumping the version
<clever> ivan: --query --binding urls, then
<clever> and nix-prefetch-url
<ivan> thanks clever
<clever> perhaps with --unpack
<jtojnar> worldofpeace have you seen "unable to login" with lightdm & elementary
* jtojnar uploaded an image: Screenshot from 2019-12-05 21-37-00.png (122KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/LrLqAMXwCuKeSjlWVLpjQSfn >
<worldofpeace> Jan Tojnar: Yes, I've reported this https://github.com/elementary/greeter/issues/368
<{^_^}> elementary/greeter#368 (by worldofpeace, 8 weeks ago, open): tries to start nonexistant sessions if the user last used them
<worldofpeace> I think the easiest workaround in a throwaway environment is to delete accountsservice's caches and restart accounts-daemon and lightdm
<worldofpeace> or use dbus to set the right session in the first place
<jtojnar> does elementary setting support ibus IMs? I do not see ibus-hangul there
<worldofpeace> Jan Tojnar: I think in `Switchboard -> Keyboard -> Input Method Settings` is something with ibus
<worldofpeace> hmm, will check what the indicator does
<{^_^}> elementary/switchboard-plug-keyboard#173 (by jlnr, 1 year ago, open): Names of IBus input sources not shown
<jtojnar> hmm, there goes testing the IBus PR on elementary
orivej has quit [Ping timeout: 252 seconds]
<jtojnar> weidly, gnome-initial-setup does not seem to show them either
orivej has joined #nixos-dev
justanotheruser has joined #nixos-dev
justan0theruser has quit [Ping timeout: 268 seconds]
Jackneill has joined #nixos-dev
drakonis has joined #nixos-dev
Jackneill has quit [Remote host closed the connection]
kreisys has quit [Quit: Textual IRC Client: www.textualapp.com]
<andi-> https://hydra.nixos.org/build/107813013 looks like the arm images are a bit too big
<samueldr> huh
<samueldr> they're now compressed
<samueldr> look at the output size graph
<samueldr> ah!
<samueldr> the filesystem a discrete derivation
<samueldr> I wonder what strategy, other than making a monolithic build bundling filesystem + final image + compression, could be used