worldofpeace_ changed the topic of #nixos-dev to: #nixos-dev NixOS Development (#nixos for questions) | NixOS 20.03 BETA Announced https://discourse.nixos.org/t/nixos-20-03-beta/5935 | 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
justanotheruser has quit [Ping timeout: 264 seconds]
justanotheruser has joined #nixos-dev
<aanderse> jtojnar: ping
ris has quit [Ping timeout: 258 seconds]
drakonis has joined #nixos-dev
drakonis1 has quit [Quit: WeeChat 2.8]
drakonis_ has quit [Ping timeout: 265 seconds]
<jtojnar> aaron?
<aanderse> hey
<aanderse> about your httpd-php pr
<aanderse> 1 sec
<aanderse> in the httpd module you add this line: cat ${php.customConfig} > $out
<aanderse> i was originally going to modify the module to use PHP_INI_SCAN_DIR to be consistent with the rest of the php implementations
drakonis_ has joined #nixos-dev
<aanderse> but what you have is more flexible
<aanderse> any thoughts on that?
<jtojnar> aaron: do you mean running httpd with the environment variable set?
<aanderse> Jan Tojnar: yes
<jtojnar> I would worry about apache filtering environment variables it does not know
<aanderse> PHPRC is already set, so i figured just add PHP_INI_SCAN_DIR on top of that and it would be consistent with the use of PHP_INI_SCAN_DIR for both php and php-fpm
<aanderse> Jan Tojnar: using PHP_INI_SCAN_DIR definitely works... but it suffers the same flaw that both php and php-fpm suffer - the user can't set PHP_INI_SCAN_DIR then
<aanderse> consistent, but far less flexible
<jtojnar> not sure how often someone wants to use PHP_INI_SCAN_DIR instead of just including the config into the main one
<jtojnar> does not sound like something reasonable to do
<jtojnar> but environment variables are still icky
<aanderse> using mod_php is icky... and effectively requires PHPRC as an environment variable anyways
<aanderse> i said your method is more flexible, so probably better...
<aanderse> but i wanted to hear your opinion on what i was thinking to do if you didn't mind sharing
<jtojnar> yeah, I like the concatenation more than another environment variable
<aanderse> ok sounds good
<aanderse> thanks!
<jtojnar> on that note, would it be possible to use `php -c` in the wrapper instead of PHP_INI_SCAN_DIR?
<jtojnar> docs are not clear if it adds a config file or sets it
<jtojnar> hmm, looks like it resets it 😔️
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos-dev
<{^_^}> firing: RootPartitionLowDiskSpace: https://status.nixos.org/prometheus/alerts
<gchristensen> worldofpeace: LnL mentioned he might start on a pipeline this weekend to automatically mark packages as broken in master, so hopefully your 20.09 release will be much more buttoned up :)
<{^_^}> resolved: RootPartitionLowDiskSpace: https://status.nixos.org/prometheus/alerts
<cole-h> worldofpeace++
<{^_^}> worldofpeace's karma got increased to 115
<worldofpeace> gchristensen: oooh really? That's awesome!
<worldofpeace> gchristensen: those events look right to me. I see a remover also. That's a thing to remove packages?
<gchristensen> yeah
<gchristensen> if they're broken for a long time, like a year
<cole-h> worldofpeace: btw, did you mark the python packages jonringer posted?
<worldofpeace> cole-h: oops, I don't think I did. I have to do one more round anyways, after hydra evals
<worldofpeace> (I think might just trigger that now)
<cole-h> Ah, alright, just making sure you're aware :P
<cole-h> python nixpkgs broken >= 3.8, imgaug broken >= 3.7, if it makes it easier
<worldofpeace> cole-h: hehe, keeping up around here can sometimes be hard. reminders are useful :D
<cole-h> :)
<aanderse> Jan Tojnar: they had to use php_ini_scan_dir because php-fpm module wouldn't work without the way they had it
<aanderse> possible other solutions may exist
<cole-h> worldofpeace: Maybe editing the ZHF issue with a "PLEASE DO NOT SEND ANY MORE ZHF PR'S" or something along those lines would be nice
<worldofpeace> cole-h: it seems there was some changes that fixed stuff on python but weren't backported ☹︎ noticed this when forward porting
<worldofpeace> I'll mention something in ZHF that things are being marked as broken.
<cole-h> btw nsss doesn't appear to be broken on master
<cole-h> (It's causing ofborg eval to fail)
<gchristensen> > pkgs.nsss.meta.description
<{^_^}> "An implementation of a subset of the pwd.h, group.h and shadow.h family of functions."
<gchristensen> I think nsss is pretty important?
<cole-h> > pkgs.skawarePackages.nss.meta.description
<{^_^}> attribute 'nss' missing, at (string):298:1
<cole-h> It's skaware
<cole-h> > pkgs.skawarePackages.nsss.meta.description
<{^_^}> "An implementation of a subset of the pwd.h, group.h and shadow.h family of functions."
<cole-h> Oh, maybe tehre isn't a difference lol
<cole-h> Nope it's an alias... 🤦
<cole-h> "alias"
<cole-h> gchristensen: Is it important? Why wouldn't we be using {pwd,shadow}.h from glibc? (group.h isn't in glibc, but appears to be in my linux-headers on Arch)
* cole-h is admittedly not that knowledgable about the lower-level workings, as he is now
<gchristensen> I take it back :)
<cole-h> And for extra "shouldn't really matter": nothing appears to directly use nsss in nixpkgs
<gchristensen> beautiful
<cole-h> `rg -uu 'nsss'` are either sha256s, nsss's definition and derivation, and TODOs regarding support for it
<worldofpeace> cole-h: it seems a change was reverted in master https://github.com/NixOS/nixpkgs/commit/894c74da1ffc8c71be748db6146cb315b8f33e32#diff-ab47417539b0709418a52e65bfcf659b that doesn't allow me to change meta like I did on 20.03
<cole-h> Yep, I saw that too
<worldofpeace> hmm, it says "The patch removed `outputs` for some reason
<worldofpeace> (possible oversight), so building nsss failed."
<cole-h> Unfortunate. But nsss is also not broken on master; fixed in #83162
<{^_^}> https://github.com/NixOS/nixpkgs/pull/83162 (by Profpatsch, 3 weeks ago, merged): Skaware 2020 03
<cole-h> (same PR which removed `// meta`
<cole-h> )
<worldofpeace> cool, I'll remove it from the PR
* cole-h runs nixpkgs-review on it to try and catch any more of these obvious ones
<cole-h> worldofpeace: Same situation with utmps
<cole-h> Probably same situation with all skawarePackages...
teto has quit [Ping timeout: 240 seconds]
<worldofpeace> lol
<cole-h> s6, s6-dns, s6-portable-utils, s6-networking, execline, s6-linux-utils, sdnotify-wrapper, utmps, skalibs
<cole-h> I think that's the complete set of skawarePackages that are now unbroken on master
<cole-h> Oh hey, appears they weren't broken on master in the first place. 85417 is green! ✨
<worldofpeace> yay, though I don't trust myself to merge it just yet because of mental fatique cole-h green ! 💚
<cole-h> You merged the last one, so only fair disasm merges this one... Hehe :P
<worldofpeace> you hear disasm 😁
<cole-h> I hear you have to say their name three times to summon them, so here's the third: disasm
abathur has quit [Quit: abathur]
<worldofpeace> cole-h: yes, I'm also the keeper of that spell/ritual in nixos
<worldofpeace> before I was here is was full of errors though
<cole-h> 👀
<drakonis_> ah yes
<worldofpeace> strangly enough though, all the unfortunate hexes that happened before I fixed it would only attack hydra
orivej has joined #nixos-dev
lopsided98 has quit [*.net *.split]
andi- has quit [*.net *.split]
Shados has quit [*.net *.split]
alienpirate5 has quit [*.net *.split]
domenkozar[m] has quit [*.net *.split]
{^_^} has quit [*.net *.split]
manveru has quit [*.net *.split]
mkaito has quit [*.net *.split]
sphalerite has quit [*.net *.split]
mdash has quit [*.net *.split]
lopsided98 has joined #nixos-dev
andi- has joined #nixos-dev
Shados has joined #nixos-dev
alienpirate5 has joined #nixos-dev
mkaito has joined #nixos-dev
domenkozar[m] has joined #nixos-dev
{^_^} has joined #nixos-dev
sphalerite has joined #nixos-dev
manveru has joined #nixos-dev
mdash has joined #nixos-dev
drakonis_ has quit [Read error: Connection reset by peer]
chagra has joined #nixos-dev
chagra_ has quit [Ping timeout: 258 seconds]
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 256 seconds]
drakonis1 has joined #nixos-dev
drakonis_ has quit [Ping timeout: 252 seconds]
<sphalerite> jtojnar: pushed to your gimp branch with a couple of changes, I still need to make the gtkdoc one cleaner
cole-h has quit [Quit: Goodbye]
<garbas> worldofpeace: i created "NixOS Release Team" playlist on youtube channel and added GO/NOGO videos there. https://www.youtube.com/channel/UC3vIimi9q4AT8EgxYp_dWIw/playlists
drakonis has joined #nixos-dev
drakonis1 has quit [Ping timeout: 250 seconds]
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 252 seconds]
__monty__ has joined #nixos-dev
pkmxtw[m] is now known as PkmX[m]
<Profpatsch> worldofpeace: what about skawarePackages?
<Profpatsch> Should all be green, I updated them recently
<Profpatsch> I try to keep them well-maintained
<Profpatsch> gchristensen: ofborg finds the maintainer by unsafeGetAttrPos right?
<arianvp> niksnut: I see in Nix 2.0 nix-env has a replacement called `nix profile <install|remove>`
<arianvp> can we also add an nix-env --set equivalent? where your profile is bound to a specifc nix flake (that calls buildEnv or whatever) and every time you call `nix profile upgrade` it updates the entire thing?
<arianvp> I guess you could just make sure you only install that specific flake; but forcing the profile to contain exactly one flake might be useful for people who want to declaratively describe their environment
<arianvp> wait let me read the source doe first. maybe this is already what is happening :P
<niksnut> there already is, nix build --profile
teto has joined #nixos-dev
Jackneill has quit [Ping timeout: 250 seconds]
Jackneill has joined #nixos-dev
chagra has quit [Ping timeout: 260 seconds]
chagra has joined #nixos-dev
drakonis has joined #nixos-dev
drakonis_ has quit [Ping timeout: 264 seconds]
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos-dev
xfix has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
xfix has joined #nixos-dev
<worldofpeace> Profpatsch: I think only two were marked broken on stable. and I think it was because of that commit I mentioned, which you reverted on master so they now build
<worldofpeace> arianvp: whatt? I need to look at the nix repo sometime 🤣
<worldofpeace> garbas: awesome.
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 256 seconds]
drakonis1 has joined #nixos-dev
ixxie has joined #nixos-dev
drakonis_ has quit [Ping timeout: 264 seconds]
phreedom has quit [Ping timeout: 240 seconds]
phreedom has joined #nixos-dev
chagra has quit [Ping timeout: 240 seconds]
<arianvp> niksnut: awesome!
chagra has joined #nixos-dev
<Profpatsch> worldofpeace: kk
<Profpatsch> I’ll backport if I notice something.
drakonis has joined #nixos-dev
justanotheruser has quit [Ping timeout: 246 seconds]
drakonis1 has quit [Ping timeout: 256 seconds]
justanotheruser has joined #nixos-dev
drakonis_ has joined #nixos-dev
cole-h has joined #nixos-dev
<worldofpeace> Profpatsch: I think it would be https://github.com/NixOS/nixpkgs/commit/894c74da1ffc8c71be748db6146cb315b8f33e32#diff-ab47417539b0709418a52e65bfcf659b that fixes two packages on stable
<Profpatsch> worldofpeace: does it need to be backported? I think you removed it from your PR that marks stuff as broken
drakonis has quit [Ping timeout: 272 seconds]
teto has quit [Ping timeout: 246 seconds]
<worldofpeace> Profpatsch: it was removed from my PR on master because that commit is on master. In this commit you say "The patch removed `outputs` for some reason
<worldofpeace> (possible oversight), so building nsss failed." and on stable I marked nsss as broken, so this commit backported would unbreak that (I think)
<worldofpeace> anyways, I'm hoping marking things as broken is done by a robot so I don't become the correspondent for every package in nixpkgs :D
<{^_^}> #82737 (by jluttine, 4 weeks ago, open): Packaging request: BigBlueButton
teto has joined #nixos-dev
drakonis_ has quit [Ping timeout: 256 seconds]
xfix has quit [Ping timeout: 240 seconds]
chagra has quit [Ping timeout: 256 seconds]
drakonis_ has joined #nixos-dev
ris has joined #nixos-dev
drakonis has joined #nixos-dev
stew has quit [Ping timeout: 256 seconds]
stew has joined #nixos-dev
drakonis has quit [Quit: WeeChat 2.8]
drakonis has joined #nixos-dev
<sphalerite> Hm, firefox 75.0 has WebGL support on Wayland (https://mastransky.wordpress.com/2020/03/03/webgl-and-fgx-acceleration-on-wayland/). Works nicely in firefox-bin, but not in our firefox package — it fails to load opengl and throws some messages on stderr about it
<sphalerite> andi-: would you happen to know things about this? :)
<andi-> sphalerite: I haven't invested the time yet
<sphalerite> alright, no problem. I might have a look this weekend if I succeed at making the time :)
<sphalerite> (though I'm not really sure where to start yet)
<andi-> I have the feeling we just have to add that libOpenGL fixup hook or whatever that was we have ther that reidrects searches to /run/opengl-drivers
<sphalerite> hm, if that were the case setting LD_LIBRARY_PATH to that would make it work, wouldn't it?
<sphalerite> also, strace shows that it does successfully open a libEGL.so.1 (from libglvnd)
<sphalerite> lol, ltrace segfaulted when I tried to trace firefox's use of that lib
<cole-h> `addOpenGLRunpath` is the hook I think
<sphalerite> nope that didn't do the trick
tdeo has quit [Remote host closed the connection]
drakonis1 has joined #nixos-dev
tdeo has joined #nixos-dev
tdeo has joined #nixos-dev
tdeo has quit [Changing host]
chagra has joined #nixos-dev
drakonis_ has quit [Ping timeout: 258 seconds]
drakonis_ has joined #nixos-dev
drakonis1 has quit [Ping timeout: 252 seconds]
<pie_[bnc]> for your consideration: recently published google book (thats libgen) 93.174.95.29/main/239A340B0D274937627136B6DBC004F0 Building Secure and Reliable Systems: Best Practices for Designing, Implementing, and Maintaining Systems
<srk> is it good? I've only skimmed it so far
<pie_[bnc]> dunno yet
<pie_[bnc]> srk: hows the skim
<srk> not much formal methods
<pie_[bnc]> eh. i can probably forgive them for not being a haskell type system book
<pie_[bnc]> srk: the table of contents has a section that uses the word "resilience" thats already a +1 from me xD
<srk> :))
<pie_[bnc]> srk: right now i happen to be looking for stuff like "use CI, dont merge to master, write tests", if you have any suggestions
<srk> not really, only browsed it on a phone for a bit
<pie_[bnc]> i mean not related specifically to the book
<srk> trying to work my way thru TAPL currently, very slowly
<srk> my experimental uniplate CAS thingie turns out quite complicated when you try to test the language with quickCheck so I've started exploring Agda and TAPL to learn some new things
<srk> it was good I've learned uniplate a bit as hnix is based around it and it is now a bit less painful to use :D
<pie_[bnc]> nice, i forgot about that book
<srk> it even has a section on dependent types! albeit a short one
<pie_[bnc]> re: agda, i *started* but didnt have time to get far with Verified Functional PRogramming in Agda , but this might be more suited for -chat :D
<srk> hah, ok :)
<pie_[bnc]> at the moment im looking for resources on how to not be shitty at software engineering in general
<pie_[bnc]> something something "software is hard, use all the help you can get"
<srk> same same, it's a constant learning experience :)
<pie_[bnc]> yeah but having to cobble thigs together from random resources maybe could be more efficient
<pie_[bnc]> hence my neverending quest for references
<pie_[bnc]> though it would be nice if i stopped to actually read sometimes
<srk> thanks for the polysemy link btw, I'm gonna try that as one of my projects is stuck on lift proliferation
<pie_[bnc]> oh yeah lol youre in dependent
orivej has quit [Ping timeout: 265 seconds]
ixxie has quit [Ping timeout: 265 seconds]
ixxie has joined #nixos-dev
ixxie_ has joined #nixos-dev
zarel has quit [Quit: ZNC 1.7.4 - https://znc.in]
zarel has joined #nixos-dev
<Profpatsch> https://alyssa.is/working-on-crosvm/ <- hasn’t been posted in here before according to my histor,y
<Profpatsch> spectrum status update
<MichaelRaskin> Yes, probably it was only posted in #spectrum
drakonis_ has quit [Ping timeout: 240 seconds]
drakonis_ has joined #nixos-dev
<worldofpeace> I'm considering if I should just close https://github.com/NixOS/nixpkgs/pull/85417, and not forward port the mark as broken edited
<{^_^}> #85417 (by worldofpeace, 18 hours ago, open): Mark broken master
WilliButz has quit [Remote host closed the connection]
WilliButz has joined #nixos-dev
<matthewbauer> worldofpeace: it might be useful to have in there for 20.09 release - i'm not sure if we're marking broken the same things over and over again
__monty__ has quit [Quit: leaving]
<worldofpeace> matthewbauer: well, I considering that marking things as broken as we do for a branched off 20.03 is much much different than even touching master
<worldofpeace> I think gchristensen mentioned LnL might work on having that happen continuously
<LnL> yeah, or at least some of the building blocks needed to build the automation
<worldofpeace> It seems a lot of people are now (seems sudden) interested having that be a thing, so "building block wanted"
<worldofpeace> gchristensen: so we're going to share lego's
<cole-h> Heh
<gchristensen> sometimes it is hard to share legos
<gchristensen> but the cool thing about projects as big as ours is there are always more legos to play with
ixxie_ has quit [Quit: leaving]
ixxie_ has joined #nixos-dev
ixxie_ has quit [Client Quit]
ixxie_ has joined #nixos-dev
ixxie_ has quit [Client Quit]
ixxie_ has joined #nixos-dev
<LnL> right but this is pretty opaque, just exposing a stream of bad packages with an indication of how bad
<LnL> consumers could do many things: notify maitainers, mark as broken, bisect regressions, ...
drakonis_ has quit [Ping timeout: 256 seconds]
<infinisil> srk: I have a bunch of practice with polysemy, it's pretty neat
drakonis_ has joined #nixos-dev
drakonis has quit [Quit: WeeChat 2.8]
justanotheruser has quit [Ping timeout: 265 seconds]
<ryantm> Is there something like "wrapProgram" that wraps every binary in a directory, or should I just do that with a script?
justanotheruser has joined #nixos-dev
teto has quit [Ping timeout: 272 seconds]
teto has joined #nixos-dev
<pie_[bnc]> ryantm: use globbing on the p-wait no thats not how that works
<pie_[bnc]> pie_[bnc] pls
drakonis has joined #nixos-dev