gchristensen changed the topic of #nixos-dev to: 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; 20.03: worldofpeace, disasm | https://logs.nix.samueldr.com/nixos-dev
<jtojnar> I will beat you in laziness 😁️ https://github.com/NixOS/nixpkgs/issues/78793
<{^_^}> #78793 (by jtojnar, 39 seconds ago, open): Update flatpak
<{^_^}> #78794 (by jtojnar, 14 seconds ago, open): flatpak: Make the tests patch easier to update
<qyliss> Declarative wrappers would be amazing!!
<qyliss> jtojnar++ worldofpeace++
<{^_^}> jtojnar's karma got increased to 26, worldofpeace's karma got increased to 61
<worldofpeace> qyliss: no promises, but I have a feeling our forces will unite for 20.09 on that 🎊
genesis has quit [Ping timeout: 272 seconds]
genesis has joined #nixos-dev
tv has joined #nixos-dev
_ris has quit [Ping timeout: 258 seconds]
<qyliss> Is #50105 still the way to go to nominate a new committer?
<{^_^}> https://github.com/NixOS/nixpkgs/issues/50105 (by Infinisil, 1 year ago, open): New nixpkgs committers requirements/process
<gchristensen> who do you want to nominate?
<qyliss> petabyteboy
<gchristensen> I should go ask them for that 250T of storage I was looking for ...
<samueldr> pbb on irc, if it matters
<qyliss> I've seen lots of good reviews, and a very solid understanding of nixpkgs
<qyliss> I'm going to assume that by Cunningham's Law that is still the place to do it.
<gchristensen> cool :) I also poked domenkozar[m]
genesis has quit [Ping timeout: 272 seconds]
genesis has joined #nixos-dev
<aanderse> qyliss: solid recommendation 👍️
<gchristensen> agreed
<aanderse> gchristensen: ping on github rfc
<aanderse> worldofpeace: ping as well
<aanderse> and FRidh
<gchristensen> I'm on a qyliss-mandated break and will be back later :)
<aanderse> yeah no need to answer here, or now
<aanderse> enjoy :)
<qyliss> Is there a way to make builtins.toJSON play nice with mkDefault?
<qyliss> > builtins.toJSON (lib.mkDefault 10)
<{^_^}> "{\"_type\":\"override\",\"content\":10,\"priority\":1000}"
<qyliss> cc infinisil, since this is stopping me applying your suggestion here: https://github.com/NixOS/nixpkgs/pull/77444#discussion_r367707189
<infinisil> qyliss: Ah yeah you need to set a better type
<worldofpeace> aaron: qyliss gchristensen This has my approval as well, according to how things go via status quo
<infinisil> E.g. `attrsOf str`
<infinisil> Instead of `attrs`
<worldofpeace> qyliss: I share your observation of them
<qyliss> infinisil: but it's arbitrary JSON
<worldofpeace> Though I always feel guilty inducting a new committer, so much responsibility 😉
<qyliss> can we do attrsOf for that?
<qyliss> If you want to support my recommendation you should +1 the comment on GitHub :)
<worldofpeace> qyliss: commented
<worldofpeace> 👍️
<infinisil> qyliss: I do have a PR that adds a proper json type: https://github.com/NixOS/nixpkgs/pull/75584
<{^_^}> #75584 (by Infinisil, 6 weeks ago, open): Configuration file formats for JSON, INI, YAML and TOML
<infinisil> Should be ready soon, along with RFC 42
<infinisil> For now I'd either remove the mkDefaults temporarily or use `attrsOf unspecified`
<qyliss> infinisil: if it's not possible now, I think I will apply your other suggestion of dropping extraConfig and merge as-is
<qyliss> Because it's otherwise pretty much ready save for some release notes and I'd like to get it in before branch-off
orivej has joined #nixos-dev
<infinisil> qyliss: Sounds good
bhipple has joined #nixos-dev
lovesegfault has quit [Ping timeout: 265 seconds]
drakonis has quit [Quit: WeeChat 2.6]
bhipple has quit [Remote host closed the connection]
justanotheruser has quit [Ping timeout: 240 seconds]
justanotheruser has joined #nixos-dev
Jackneill has joined #nixos-dev
ixxie has joined #nixos-dev
globin has quit [Quit: o/]
globin has joined #nixos-dev
__monty__ has joined #nixos-dev
ixxie has quit [Ping timeout: 268 seconds]
FRidh has quit [Quit: Konversation terminated!]
ixxie has joined #nixos-dev
nh2[m] has left #nixos-dev ["Kicked by @appservice-irc:matrix.org : User has been idle for 30+ days."]
dywedir[m] has quit [Quit: User has been idle for 30+ days.]
<worldofpeace> niksnut: ping
<{^_^}> #66640 (by worldofpeace, 24 weeks ago, merged): rename iso_graphical to iso_plasma5
<{^_^}> nixos-homepage#297 (by worldofpeace, 24 weeks ago, open): rename iso-graphical to iso-plasma5
<worldofpeace> that's going to break stuff, not good
<worldofpeace> (for observers, I believe that would break the channel having the graphical iso)
yegortimoshenko has quit [Quit: User has been idle for 30+ days.]
<bennofs> do we have a way to automatically check if some command can be executed as part of the ofborg tests?
<bennofs> Like testing $out/bin/whatever --help
<jtojnar> bennofs: you can add something like `passthru.tests.checkHelp = runCommand …`
<jtojnar> and then make ofborg build it
<jtojnar> https://github.com/NixOS/ofborg/pull/410 is needed for automatic run
<{^_^}> ofborg#410 (by Ekleog, 13 weeks ago, open): nixpkgs-rs: build .passthru.tests too
<niksnut> worldofpeace: I assume the nixos-homepage PR should only be merged once 20.03 is released
<worldofpeace> niksnut: yep
<worldofpeace> will note that on the thread, for sure something to remember for the release
<niksnut> about https://github.com/NixOS/nixos-channel-scripts/pull/25/files, we're also still updating 19.03
<jtojnar> should not we backport the rename then?
<worldofpeace> niksnut: pushed
<niksnut> jtojnar: definitely not, that's the sort of incompatible change that shouldn't happen on a stable branch
<niksnut> worldofpeace: hm, but that will break > 20.03
<niksnut> maybe just check for 19. ?
<worldofpeace> a redirect would put this to rest 😺
<worldofpeace> niksnut: pushed. my first perl if 🎊
<niksnut> thanks :-)
<gchristensen> afaict, after applying `patches`, patched source files in a build have timestamps different from the rest of the files. I wonder if we should reset those timestamps after the patch phase
__monty__ has quit [Quit: leaving]
<niksnut> it should be deterministic at least, for the benefit of SOURCE_DATE_EPOCH
<gchristensen> +1
<niksnut> btw patches can contain timestamps, but git diffs don't
ixxie has quit [Ping timeout: 268 seconds]
<gchristensen> right
<gchristensen> it sounds like for that we would want to pass -Z to `patch`
ixxie has joined #nixos-dev
psyanticy has joined #nixos-dev
FRidh has joined #nixos-dev
<qyliss> Do I need a release note for changes that are already documented with mkRenamedOptionModule/mkRemovedOptionModule?
<gchristensen> I think it would be best, yeah, so people know to expect it
<gchristensen> and the release note could have more context
kenjis1 has joined #nixos-dev
FRidh has quit [Quit: Konversation terminated!]
<gchristensen> what if command-not-found outputted the package's description for each result? it might help people pick an option if there are many results for a package
<gchristensen> for example `gcc` has many results, and `ar` has two results and neither of them are obviously right. (these are just two examples I could come up with on short notice, please don't try to pick apart the idea based on the two examples :P)
<jtojnar> the main issue with these would be that the descriptions are likely the same
<gchristensen> ouch
<gchristensen> right
<clever> ive also seen a number of people break their machine by installing busybox
<gchristensen> maybe they shouldn't be! overridden to have a different description, describing why they exist. this sounds like a UX improvement in a lot of ways!
<clever> it overrides a dozen system utils, some in non-compatible ways
<jtojnar> > :p map (x: pkgs."gcc${toString x}".meta.description) [ 48 49 5 6 7 8 9 ]
<{^_^}> attribute 'gcc5' missing, at (string):277:9
<jtojnar> map (x: pkgs."gcc${toString x}".meta.description) [ 48 49 6 7 8 9 ]
<qyliss> Installing busybox shouldn't be able to break the system, IMO
<jtojnar> > :p map (x: pkgs."gcc${toString x}".meta.description) [ 48 49 6 7 8 9 ]
<{^_^}> [ "GNU Compiler Collection, version 4.8.5 (wrapper script)" "GNU Compiler Collection, version 4.9.4 (wrapper script)" "GNU Compiler Collection, version 6.5.0 (wrapper script)" "GNU Compiler Collection...
<qyliss> Presumably it breaks activation scripts?
<jtojnar> interesting, gcc actually has proper decriptions
<das_j> hm, is it possible to pass multiple configurations to the <nixos/nixpkgs> configuration parameter?
<qyliss> to have them merged together?
<das_j> yes
<qyliss> just import them all from one top-level configuration
<das_j> oh yeah, that makes a lot more sense
<das_j> thanks
Jackneill has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
<aanderse> qyliss: was it you who went through a whole postfix setup recently and mentioned as such?
orivej has quit [Ping timeout: 260 seconds]
lovesegfault has joined #nixos-dev
<qyliss> I'm using Postfix with Mailman, and Postfix as an SMTP relay on my laptop, and have been since last year
<qyliss> So probably not?
<aanderse> ah ok
_ris has joined #nixos-dev
orivej has joined #nixos-dev
psyanticy has quit [Quit: Connection closed for inactivity]
<yorick> should .a's be in .dev or .lib?
<clever> yorick: i would put them in .dev
<clever> if something depends on $lib/lib/libfoo.so, i dont want a dead libfoo.a hanging around eating up space
kenjis1 has quit [Remote host closed the connection]
lovesegfault has quit [Ping timeout: 248 seconds]
lovesegfault has joined #nixos-dev
<qyliss> > Please note that NixOS assumes all over the place that shell to be Bash, so override the default setting only if you know exactly what you're doing.
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):277:72
<qyliss> Is this really true? I'd be surprised if anything in NixOS used a /bin/sh shebang rather than one pointing into the store
<gchristensen> a good question, let's try it
jonge[m] has quit [*.net *.split]
Ox4A6F has quit [*.net *.split]
domenkozar[m] has quit [*.net *.split]
ericnoan has quit [*.net *.split]
<qyliss> I haven't been brave enough to in case I was missing something obvious
ericnoan has joined #nixos-dev
<gchristensen> I can try it :)
<gchristensen> this is a favorite feature of my / being erased continuously
<qyliss> ahh of course :D
<gchristensen> one time I turned on a lot of the systemd security features by default for every unit just to see ... it didn't work well
<samueldr> would a `meta.vcs` attribute be a welcome change? where a url can be used to point to the source location of a package
<samueldr> welcome addition*
<samueldr> I've just had an annoying time tracking down where a specific software's sources were
<samueldr> though, thinking about it I think its value would be greater if it could also encode the protocol to use, in addition to the URL, somehow
<samueldr> (thinking about how both git and mercurial can use https:// as protocol)
kenjis1 has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
<jtojnar> not sure if nixpkgs should mirror homepages
<jtojnar> if vcs repo is hard to find, it is a website bug
<lovesegfault> I wish `metadata` had a field for a "release feed"
<lovesegfault> or page
<samueldr> there is one for changelog, lovesegfault
<lovesegfault> samueldr: I meant for things like this: https://github.com/autozimu/LanguageClient-neovim/releases
<samueldr> sure it's a documentation failure from the project, but I'm thinking that this could enable nice automation, so an added value
<samueldr> lovesegfault: yeah, just saying that there is one that can be used to get at least some notification of changes
<lovesegfault> Yeah, I'm mostly interested in automating pkg updates
<lovesegfault> or if not that notifying maintainers of new releases
<samueldr> additionally, we already have homepage and downloadPage
<lovesegfault> I use RSS right now for this
nurelin_ has quit [Quit: WeeChat 2.6]
Jackneill has joined #nixos-dev
Jackneill has quit [Remote host closed the connection]
drakonis has joined #nixos-dev
rajivr___ has quit [Quit: Connection closed for inactivity]
<qyliss> ekleog: why does services.rss2email use /var/rss2email and not /var/lib/rss2email?
drakonis has quit [Quit: WeeChat 2.7]
<gchristensen> qyliss: here goes
<gchristensen> I took an extra snapshot just in case :P
ixxie has quit [Ping timeout: 240 seconds]
<qyliss> :D
kenjis1 has quit [Ping timeout: 245 seconds]