<aszlig>
or do we have some other address that is non maintainer-related which we can use instead?
<aszlig>
gchristensen: btw. i wonder when pkgs.chromium stopped working, since i explicitly used pkgs. to avoid the nixos tests to show up in the search query
<aszlig>
probably the jobset is hidden nowadays
<samueldr>
nixpkgs vs. nixos jobsets?
<aszlig>
samueldr: the search is global
<aszlig>
so it shouldn't matter
<samueldr>
yeah, but jobs have different names
<aszlig>
yeah
<aszlig>
well, i don't remember anymore since it has been a while
<samueldr>
nixos jobset: nixos.tests.chromium.x86_64-linux nixpkgs.chromium.x86_64-linux and nixpkgs jobset: chromium.x86_64-linux
<samueldr>
though possibly things have changed since... that while
<aszlig>
i think nixpkgs.chromium.x86_64-linux sounds about right
<gchristensen>
we've grown by about 100,000,000 builds since then
<aszlig>
well, anyway, it would at least be a good idea if people who *actually* maintain and probably also use chromium on nixos would be the contact person :-D
stolyaroleh_ has quit [Ping timeout: 265 seconds]
rajivr has joined #nixos-dev
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos-dev
orivej has quit [Ping timeout: 265 seconds]
mkaito has quit [Quit: WeeChat 3.0]
cole-h has joined #nixos-dev
bgamari has quit [Ping timeout: 256 seconds]
bgamari has joined #nixos-dev
bgamari_ has joined #nixos-dev
bgamari has quit [Ping timeout: 264 seconds]
kalbasit_ has joined #nixos-dev
<gchristensen>
samueldr: I can return a search producing no results in 200ms now
<samueldr>
great!
<samueldr>
though at github's scale it should be a unicorn in 30 seconds flat
<samueldr>
wait
<samueldr>
is that 200ms to *confirm* there are no results?
<samueldr>
like for search queries that ought to return nothing?
<samueldr>
or is it returns nothing in 200ms while it should have?
<samueldr>
the former being way more exciting
<gchristensen>
I'm pretty sure it is confirming there are no results
<gchristensen>
yp
kalbasit_ has quit [Ping timeout: 240 seconds]
<samueldr>
oh, neat
<gchristensen>
the overall page loads in 7s
<gchristensen>
not better than what is there already in the success case
<gchristensen>
I wonder why not
<lukegb>
gchristensen: what other indexes are on BuildOutputs.path?
<siraben>
Is this `python = python3` redundant? `mod_wsgi3 = callPackage ../servers/http/apache-modules/mod_wsgi { python = python3; };`
<lukegb>
e.g. what does the perf of `WHERE path ~ '.*(pkgs\.chromium).*'` look like if you have a `CREATE INDEX expIndexBuildOutputsPathGinTrgm ON BuildOutputs USING GIST (path gist_trgm_ops);`
<lukegb>
(although you might need to load pg_trgm first)
<gchristensen>
lukegb: is it possible to have a GIN index where an integer field is also part of the index?
<lukegb>
I'm not sure, I don't *think* so
<gchristensen>
me either
<gchristensen>
it is using the pkey instead of the gin index, I think because of a join
<gchristensen>
it is weird, lukegb, explain analyze SELECT * FROM buildoutputs WHERE to_tsvector('english', regexp_replace(buildoutputs.path, '[\./-]', ' ', 'g')) @@ websearch_to_tsquery('english', regexp_replace('chromium', '[\./-]', ' ', 'g')) limit 10; -> seq scan on buildoutputs, if I drop the limit it uses the gin
<gchristensen>
oh the table is too large to have 1 bit per row and fit in work_mem making it a lossy bitmap index
<gchristensen>
that certainly makes it interesting :)
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos-dev
<siraben>
samueldr: what's going on there?
orivej has quit [Read error: Connection reset by peer]
<samueldr>
exactly
orivej has joined #nixos-dev
Mic92 has joined #nixos-dev
Mic92 has quit [Quit: WeeChat 3.0]
Mic92 has joined #nixos-dev
krkini has joined #nixos-dev
AlwaysLivid has quit [Remote host closed the connection]
AlwaysLivid has joined #nixos-dev
<domenkozar[m]>
ugh, my nix-daemon was using 31G of memory
LnL has quit [Read error: Connection reset by peer]
<domenkozar[m]>
ah, dumping very large path
<domenkozar[m]>
no way of knowing what
justanotheruser has quit [Ping timeout: 272 seconds]
<primeos>
aszlig: yeah, feel free to post my contact info there - and thanks for your great and very impressive work on Chromium
<primeos>
(and the hash collisions for the update.nix script where quite fun/legendary xD)
endocrimes has joined #nixos-dev
<domenkozar[m]>
if only we had a nix errors project :)
<siraben>
domenkozar: what would a nix errors project resolve?
endocrimes has quit [Quit: running from the computers]
<siraben>
supersandro2000: could you explain why removing `python = python3` treewide is good? Is it because `python` defaults to it anyway?
endocrimes has joined #nixos-dev
<andi->
I wish we had learned that just python without a version will bite us on the next migration.
<V>
Why did we have python = python3 in the first place? The huge 2->3 mess should have taught us something
<V>
Wondering how many distros made /usr/bin/python a symlink to /usr/bin/python3 now, vs just having it remain a symlink to python2
<V>
siraben: did you see my other comments re poetry btw
<yorick>
V: we had python = python2 in the first place
<siraben>
V: on the PR in #nixos?
<siraben>
s/in/or
<V>
siraben: yes
<V>
yorick: "in the first place" = at any point, not what it pointed to initially
<siraben>
V: just saw it now
<siraben>
ok but I think rmrl is both a library and an application, hm
<V>
Or, wait, it doesn't point to python3?
<siraben>
V: it would be used like `callPackage ../foo { python = python3; }`
<siraben>
it should be converted to python3 in ../foo/default.nix as well right?
<V>
nvm me, I thought you were talking about something else in that case
<yorick>
V: afaict it still points to python2
<V>
yorick: yes, I misunderstood what siraben was saying
<yorick>
it made sense to do back in 2014
<V>
I thought this was about python at the top level, rather than as an override
<yorick>
I hope python has learned from their 2->3 fiasco and python 4 will be backward compatible, and in that case it would be fine to python = python3
<yorick>
I'd rather see no python alias, but if we must, then python = python3
<V>
siraben: doesn't look like it's anything but a library
<yorick>
iirc roommate was working on this a while ago
<siraben>
xdg_utils → xdg-utils naming needs to be done treewide it seems
<yorick>
those modules with the missing types sure weren't the most beautiful modules
<yorick>
I wonder if we should just fix the missing types and then move on until someone else discovers them again
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
<yorick>
whaaat, no stdenv.lib anymore?!
<yorick>
ok
orivej has quit [Ping timeout: 264 seconds]
AlwaysLivid has quit [Ping timeout: 268 seconds]
<infinisil>
> stdenv.lib
<{^_^}>
{ __unfix__ = <LAMBDA>; add = <CODE>; addContextFrom = <CODE>; addErrorContext = <CODE>; addErrorContextToAttrs = <CODE>; addMetaAttrs = <CODE>; all = <PRIMOP>; and = <CODE>; any = <PRIMOP>; appendToN...
<s1341>
anyone know who deals with cross-compilation issues?
<supersandro2000>
Mic92 maybe can help you
mkaito has joined #nixos-dev
mkaito has joined #nixos-dev
<s1341>
@Mic92 you around?
<s1341>
thanks @supersandro2000
<supersandro2000>
I pinged him already. No need to ping him twice
<s1341>
thanks supersandro2000
<stolyaroleh_>
Hi @supersandro2000, do you know who is a good person to speak about fixing lldClang? It uses a flag that ld-wrapper.sh misses, resulting in binaries that can't run if you just try to use it in your stdenv.
<stolyaroleh_>
I have two ideas on how to fix, not sure which one is better.
krkini has quit [Remote host closed the connection]
<gchristensen>
maybe LnL
kini has joined #nixos-dev
<Mic92>
s1341: No doing sports
<s1341>
Mic92: ?
<siraben>
supersandro2000: yay
<siraben>
supersandro2000: what's stale ofborg?
bennofs has joined #nixos-dev
bennofs has quit [Client Quit]
bennofs has joined #nixos-dev
<supersandro2000>
siraben: it succeeded a while ago (like 3 months) but wouldn't now
<siraben>
ah
<supersandro2000>
Does someone know if 20.09 is currently blocked?
<itai>
supersandro2000: yeah the main reason i want to use it is because of the experimental commands, and flake stuff
<itai>
they seem to be the way of the future so i figured i might as well learn them
<itai>
does nix 2.4 have a target release date? or is it just a when it's ready type thing. also are questions welcome here or not? i've gotten mixed signals about that
<niksnut>
hopefully within a few weeks
<niksnut>
it's mostly a matter of writing release notes
<itai>
neat
<niksnut>
though there is at least one crash bug that needs to be sorted out
<adisbladis>
itai: This channel is not so much intended for end-user questions but for nix/nixpkgs hacking. Generally default to #nixos.
<itai>
adisbladis: right, i'll go there in the future, sorry for the fuss
<adisbladis>
But don't hesitate to ask questions, worst case someone will guide you to the correct channel
<itai>
yeah for sure
<adisbladis>
Nothing to be sorry about :)
itai has quit [Quit: #nixos]
v0|d has joined #nixos-dev
mkaito has quit [Quit: WeeChat 3.0]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
<andi->
gchristensen: are you working on hydra again? It times out here
kalbasit_ has joined #nixos-dev
kalbasit_ has quit [Ping timeout: 256 seconds]
<ScottHDev5>
infinisil Ok thanks
<supersandro2000>
staging evals now again
<gchristensen>
andi- no
kalbasit_ has joined #nixos-dev
<andi->
gchristensen: mhm, can you confirm that the webinterface is unreachable?
<andi->
ahh it is back now
kalbasit_ has quit [Ping timeout: 246 seconds]
<supersandro2000>
was down or really slow for me, too
<supersandro2000>
or better is. Still not loading for me.
<gchristensen>
I'm looking in to some things to do
<supersandro2000>
didn't test. exact match, maybe only begins with? flags in [] mean: last, redirect 429, nocase.
AlwaysLivid has joined #nixos-dev
<aanderse>
yeah that looks reasonable 👍
LnL has joined #nixos-dev
kalbasit__ has joined #nixos-dev
WilliButz has joined #nixos-dev
mkaito has joined #nixos-dev
mkaito has joined #nixos-dev
kalbasit__ has quit [Ping timeout: 240 seconds]
<andi->
Did I miss that someone is constantly scraping for chromium?
<gchristensen>
yeah, someone is
WilliButz has quit [Remote host closed the connection]
<gchristensen>
supersandro2000: so RewriteRule ^/search?query=pkgs.chromium$ - [L,R=429,NC] made the "h" optional, so I escaped it as RewriteRule ^/search\?query=pkgs.chromium$ - [L,R=429,NC] and that doesn't match either. what do you suggest?
<symphorien[m]>
`^/search.query=pkgs.chromium$`
WilliButz has joined #nixos-dev
<jonge[m]>
hi there, i am interested in getting static c++ apps with clang. while playing with `makeStaticBinaries`, i found the following behavior: if i add `-static -lstdc++ -lfoo -lstdc++ -lbar -lstdc++` to `NIX_CFLAGS_LINK`, and run with `NIX_DEBUG=1`, i see that it translates those `-lstdc++` args to `-lc++`, as in `-static -lc++ -lfoo -lc++ -lbar -lc++`. i don't understand *where* in the wrappers this happens, can anybody
<jonge[m]>
infinisil: thank you. i just discovered that when clang++ is invoked with both `-stdlib=libc++` and `-lstdc++`, then it will translate `-lstdc++` to `-lc++`, but not because of anything in nixpkgs.
eyJhb has quit [Quit: Clever message]
eyJhb has joined #nixos-dev
eyJhb has joined #nixos-dev
<samueldr>
I'll open an issue too, but I wrote a small reproduction for what I suppose is a bug with kernels and overrideAttrs