worldofpeace changed the topic of #nixos-dev to: NixOS Development (#nixos for questions) | NixOS 20.09 Nightingale ✨ https://discourse.nixos.org/t/nixos-20-09-release/9668 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | https://r13y.com | 20.09 RMs: worldofpeace, jonringer | https://logs.nix.samueldr.com/nixos-dev
rj has quit [Ping timeout: 268 seconds]
rj has joined #nixos-dev
__monty__ has quit [Quit: leaving]
cjb has joined #nixos-dev
cjb has quit [Remote host closed the connection]
cjb has joined #nixos-dev
cjb is now known as Guest96467
Guest96467 is now known as asdf1234asd
asdf1234asd is now known as cjbayliss
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos-dev
cjbayliss is now known as cjb
cjb has quit [Quit: hopefully fixed SASL]
mewra has quit [Remote host closed the connection]
aranea has joined #nixos-dev
ris has quit [Ping timeout: 246 seconds]
rajivr has joined #nixos-dev
orivej has quit [Ping timeout: 264 seconds]
cjb has joined #nixos-dev
cjb has quit []
cjb has joined #nixos-dev
lukeg is now known as lukegb
cjb has quit []
cjb has joined #nixos-dev
jonringer has quit [Remote host closed the connection]
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-dev
jonringer has joined #nixos-dev
veleiro has joined #nixos-dev
malbx- has joined #nixos-dev
das_j has quit [Quit: Bridge terminating on SIGTERM]
ajs124 has quit [Quit: Bridge terminating on SIGTERM]
Scriptkiddi has quit [Quit: Bridge terminating on SIGTERM]
ajs124 has joined #nixos-dev
das_j has joined #nixos-dev
Scriptkiddi has joined #nixos-dev
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
<siraben> ironically despite upstream's intention not to have releases, many of the tests fail https://github.com/onetrueawk/awk
<siraben> so there's no knowing when something is considered "stable" here
tomberek has joined #nixos-dev
<siraben> Why doesn't `cp -r ${src}/kklib/mimalloc $out/share/koka/v${version}/kklib` work?
<siraben> I get a permissions denied
Gaelan_ is now known as Gaelan
<siraben> Ok that's pretty vague, I'll try a few variations then paste the expression
<siraben> This is in postInstall, a package needs some header files copied in $out
<siraben> Debugging postInstalls are very annoying, I have to wait the entire build before I see if it works or not
tomberek3 has joined #nixos-dev
tomberek is now known as Guest70506
tomberek3 is now known as tomberek
Guest70506 has quit [Ping timeout: 240 seconds]
cjb has quit []
boredom101 has joined #nixos-dev
boredom101 has quit [Quit: Connection closed]
evils has joined #nixos-dev
<siraben> figured that part out, but ran into a cmake issue at runtime that I'm not sure why it's happening: https://github.com/NixOS/nixpkgs/pull/117447
<{^_^}> #117447 (by siraben, 37 seconds ago, open): koka: init at 2.1.1
<siraben> huh weird, it doesn't occur anymore
<siraben> runtime behavior differs in my overlay vs. nixpkgs
<siraben> Mic92: ping regarding updating nixpkgs-review
steveeJ has quit [Ping timeout: 240 seconds]
steveeJ has joined #nixos-dev
midchildan has quit [Ping timeout: 240 seconds]
midchildan has joined #nixos-dev
AlwaysLivid has joined #nixos-dev
boredom101 has joined #nixos-dev
vdemeester has quit [Ping timeout: 240 seconds]
vdemeester has joined #nixos-dev
vdemeester has joined #nixos-dev
vdemeester has quit [Changing host]
vdemeester has joined #nixos-dev
AlwaysLivid has quit [Remote host closed the connection]
AlwaysLivid has joined #nixos-dev
sorki has joined #nixos-dev
srk has quit [Ping timeout: 268 seconds]
sorki is now known as srk
boredom101 has quit [Quit: Connection closed]
pmy has quit [Ping timeout: 256 seconds]
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos-dev
jonringer has quit [Ping timeout: 260 seconds]
pmy has joined #nixos-dev
makefu has quit [Quit: WeeChat 2.9]
makefu has joined #nixos-dev
<supersandro2000> Anyone any idea why nix copy works but nix-copy-closure coredumps?
boredom101 has joined #nixos-dev
Cale has quit [Ping timeout: 276 seconds]
boredom101 has quit [Quit: Connection closed]
cole-h has quit [Ping timeout: 264 seconds]
<supersandro2000> I got it working!
<supersandro2000> setting IPQoS 0 on the ssh session works!
<supersandro2000> Great that I am not a network engineer because I have no clue what I am doing. Maybe someone could tell me what this means..
Mic92 has quit [Quit: WeeChat 3.1]
Mic92 has joined #nixos-dev
arianvp has quit [Ping timeout: 244 seconds]
arianvp has joined #nixos-dev
pmy has quit [Ping timeout: 244 seconds]
pmy has joined #nixos-dev
<yorick> supersandro2000: coredumps means it's broken
FRidh has joined #nixos-dev
<supersandro2000> well yeah... nix copy now sometimes works but remote build is still borked
<sterni> siraben: ohhhh koka is horrible
aranea is now known as mewra
<sterni> siraben: I had a expression for an old version locally, but couldn't be bothered to fix it and upstream when a new release broke it all over
<siraben> sterni: well i have a PR that's up now
<siraben> Yeah it was a PITA
<sterni> siraben: I'll test it
<sterni> at least no new patches required :p
<siraben> I really think it's an interesting project, shame that building is convoluted
<siraben> yeah heh
<siraben> I looked around the internet quite a bit before this but didn't find any previous attempt
<siraben> omg
<siraben> I would have given up
<siraben> The way I make it find libs is a bit janky I think
<sterni> siraben: well just look at this janky getProgramPath implementation they originally had: https://github.com/koka-lang/koka/pull/93/files
<sterni> when there's a function in base for that
<siraben> the lack of monadic syntax hurts my eyes
<siraben> but there's already something in base heh
<siraben> authors are not terribly responsive
<sterni> siraben: you probably need to wrap koka as well so a C compiler and cmake etc are in path
<sterni> I needed [ cmake ninja binutils-unwrapped gnumake gcc ] in the wrapper
<sterni> hmmm or does it not need that stuff anymore?
hplar has quit [Ping timeout: 265 seconds]
hplar has joined #nixos-dev
<siraben> I'll double check that
ili has joined #nixos-dev
<siraben> sterni: yeah looks like I need cmake in path
mkaito has joined #nixos-dev
boredom101 has joined #nixos-dev
<siraben> sterni: please take another look at #117447
<{^_^}> https://github.com/NixOS/nixpkgs/pull/117447 (by siraben, 6 hours ago, open): koka: init at 2.1.1
<siraben> Dunno if --argv0 "koka" is necessary in wrapProgram
<supersandro2000> it should do that automatically IIRC
<sterni> yeah it does
boredom101 has quit [Quit: Connection closed]
boredom101 has joined #nixos-dev
boredom101 has quit [Client Quit]
boredom101 has joined #nixos-dev
boredom101 has quit [Client Quit]
boredom101 has joined #nixos-dev
boredom101 has quit [Client Quit]
orivej has joined #nixos-dev
tomberek has quit [Quit: Connection closed]
tomberek has joined #nixos-dev
jonringer has joined #nixos-dev
Synthetica has joined #nixos-dev
<Synthetica> Could someone review (and preferibly merge) #117473 and #117479? I'm pretty sure the first one is correct, but I'm not sure if I'm doing the backport correctly
<{^_^}> https://github.com/NixOS/nixpkgs/pull/117473 (by Synthetica9, 44 minutes ago, open): vscode: fix download link
<{^_^}> https://github.com/NixOS/nixpkgs/pull/117479 (by Synthetica9, 1 minute ago, open): [20.09] Backport #117473 (vscode: fix download link)
<supersandro2000> please create the backport after the initial PR is merged
<supersandro2000> if there is any reviewer feedback it is easier for you to integrate it
<rmcgibbo[m]> to remove a python package (#117472), do I need to do anything other than just removing its file and deleting its entry from python-packages.nix?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/117472 (by rmcgibbo, 58 minutes ago, open): python3Packages.numtraits: mark as broken
<sterni> rmcgibbo[m]: yeah, you could also add an alias which is = throw "xyz has been removed"
<sterni> but i don't think python aliases have been merged yet
<gchristensen> it would be really, very helpful to have https://status.nixos.org/ all green for tomorrow -- can anyone pick this up? we'll want to get these two OpenSSL fixes right out the door: CVE-2021-3449: NULL pointer deref in signature_algorithms processing, CVE-2021-3450: CA certificate check bypass with X509_V_FLAG_X509_STRICT
<sterni> gchristensen: afaik mostly blocking on #117295, although there is a strange boot test failure
<{^_^}> https://github.com/NixOS/nixpkgs/pull/117295 (by cole-h, 1 day ago, open): nixUnstable: add util-linuxMinimal to buildInputs
<sterni> no idea what this is about https://hydra.nixos.org/build/139776356
<gchristensen> let's consider reverting any changes necessary to get that nix problem solved
<sterni> supersandro2000: did you figure out why nixUnstable with cole-h's PR failed for you?
<sterni> vm-test-run-boot-bios-usb test kernel panics?
<sterni> that's not good
<gchristensen> I restarted the test just to see if it was transient
<hexa-> there is no grub2 in there, is there?
<hexa-> isolinux :)
<gchristensen> but we're ~12h away from this openssl release, so let's revert anything we need
<hexa-> agreed
<supersandro2000> sterni: no..
<supersandro2000> I needed to fix my nix remote setup
<supersandro2000> I think it breaks if any nix involved is 2.3.10 and most of the others nixUnstable
<supersandro2000> and if any client that tries to build is not the latest unstable it does not receive any build log
<gchristensen> supersandro2000: would you be able to take point in chasing down what we need to revert to fix the issue #117295 is solving? don't do it yet, just information gathering
<{^_^}> https://github.com/NixOS/nixpkgs/pull/117295 (by cole-h, 1 day ago, open): nixUnstable: add util-linuxMinimal to buildInputs
<gchristensen> sterni: are you able & available to monitor https://hydra.nixos.org/build/139776356 to see if it breaks on its reattempt?
<supersandro2000> I can try it but can't promise anything
<gchristensen> let me know in 1h if you learned anything or not?
<sterni> gchristensen: sure
<gchristensen> thanks, sterni, can you check in in ~1h also?
<sterni> yep
<gchristensen> thank you both
<sterni> at least trunk-combined moved past the darwin eval error
<sterni> I got really scared yesterday, but it only was behind a bit more than I thought
<gchristensen> hexa- shared the estimated release will be at this time: https://everytimezone.com/?t=605a8100,8ac
<sterni> humane time in germany :)
<hexa-> indeed
<supersandro2000> wakeup time for hackers
boredom101 has joined #nixos-dev
<hexa-> looks like it was just flaky
<supersandro2000> 117295 is flaky
<supersandro2000> failed once and then succeeded locally
<hexa-> sterni, gchristensen: biosUsb just completed. https://hydra.nixos.org/build/139776356
<gchristensen> does that mean we're essentially ready to merge that PR from cole and we should be good to go?
<sterni> yeah just saw it
<sterni> gchristensen: maybe, supersandro2000 reported the build failed for him with that PR
<sterni> although maybe that was unrelated?
<siraben> sterni: ping re: koka, don't think there's anything left
<sterni> siraben: yeah I'll test it shortly
<sterni> gchristensen: *theoretically* nixos-unstable should unclog itself as all constituents are green, but nixpkgs-unstable has nixpkgs-review as a constituent, so it's broken by the nixUnstable issue
<siraben> thanks :D
<sterni> hm the evaluation is still reporting the old failure o_O
<sterni> I mean as a hack we could disable tests for nixUnstable on master until cole figures out what to do with unshare
<hexa-> also tarball job fails https://hydra.nixos.org/build/139580204
<hexa-> due to some vscode extension commit
<sterni> hexa-: that has been fixed since
<hexa-> good
<sterni> the nixpkgs jobset seems to be a bit further behind for some reason
<hexa-> staging-20.09, staging-next, gnome-40
<hexa-> apparently also python-unstable
<sterni> hexa-: https://hydra.nixos.org/build/139845900 tarball for nixpkgs is still scheduled for the latest evaluation
<sterni> the tarball job is behind a lot for some reason https://hydra.nixos.org/job/nixpkgs/trunk/tarball
<sterni> the last build at all was 3d ago
<hexa-> likely dependencies
<supersandro2000> I checked them and they are green
<supersandro2000> wait I scrolled past some
<supersandro2000> oh nvm. I opened them in a new tab and was on the same page and thought they still need to be build. derp.
tomberek has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 256 seconds]
<supersandro2000> gchristensen: can't reproduce the failure of 117295 reliable. happened once and now it passes.
<gchristensen> okay, shall we merge then?
bbigras has quit [Ping timeout: 268 seconds]
LinuxHackerman has quit [Ping timeout: 268 seconds]
LinuxHackerman has joined #nixos-dev
emily has quit [Ping timeout: 268 seconds]
<sterni> the concerns on the PR mostly affect cross I guess that's not that critical for channel advancement?
ma27[m] has quit [Ping timeout: 268 seconds]
<sterni> ideally we'd want to have a working nixUnstable in the next evaluation of nixpkgs:trunk:unstable
Valodim[m] has quit [Ping timeout: 268 seconds]
<sterni> why is the latest evaluation of nixos:trunk-combined still showing tested as failed even though all of the constituent jobs succeed?
malbx- has quit [Ping timeout: 264 seconds]
<gchristensen> that job needs to be restarted
boredom101 has quit [Quit: Connection closed]
malbx has joined #nixos-dev
mkaito has quit [Quit: WeeChat 3.1]
bbigras has joined #nixos-dev
Cale has joined #nixos-dev
emily has joined #nixos-dev
ma27[m] has joined #nixos-dev
<supersandro2000> I think I hit this bug without cross compiling once
<supersandro2000> all those failures are a bit flaky
Valodim[m] has joined #nixos-dev
tomberek has joined #nixos-dev
<sterni> gchristensen: who can do that?
<sterni> supersandro2000: yeah the unshare thing is only hit if some /proc device doesn't exist iirc
<sterni> so the issue only ever arises in a specific probably sandbox related situation
<gchristensen> sterni: link? I can do it
AlwaysLivid has quit [Remote host closed the connection]
AlwaysLivid has joined #nixos-dev
<sterni> gchristensen: https://hydra.nixos.org/build/139775834 as far as i can see all constituents succeed: https://hydra.nixos.org/build/139775834#tabs-constituents
<gchristensen> restarted
<sterni> > Scheduled to be built; all 109 constituent builds succeeded
<{^_^}> error: syntax error, unexpected ';', expecting ')', at (string):492:22
<sterni> looks good :)
<FRidh> it would be so nice if it was possible to add a note to a job(set), for example when aborting jobs
<gchristensen> say more?
<FRidh> sometimes jobs can be aborted, or paused. When someone else looks, and sees "aborted" they'll be like "why is this aborted? Maybe restart?"
<gchristensen> would it be a note on the jobset itself, or like an audit log?
<FRidh> for example, staging* may as well be aborted now because of the upcoming openssl fixes
<FRidh> both!
<FRidh> but I guess I mean audit log primarily, but then w ith the option of leaving a note/reason when aborting/starting
<gchristensen> sounds cool
rajivr has quit [Quit: Connection closed for inactivity]
<rmcgibbo[m]> (Not sure if this is still relevant, but I got the same flakey error with #117295. Log here: https://gist.github.com/rmcgibbo/257bbd103c7c3b833832369e2aa69cfb)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/117295 (by cole-h, 1 day ago, open): nixUnstable: add util-linuxMinimal to buildInputs
__monty__ has joined #nixos-dev
<gchristensen> abathur: I have a bug report for oil but I haven't gotten the energy to do it if you'd like to
<Ericson2314> is polly supposed to be on by default with newer LLVM?
<Ericson2314> the code seems inconsistent
cole-h has joined #nixos-dev
<sterni> hmm is there a better way to get the compiler binary of stdenv.cc than "${lib.getBin stdenv.cc}/bin/cc"?
<sterni> would be kinda neat to use the clang / gcc binary
<samueldr> there must be because that won't work with cross
<samueldr> (as cross-compilers are prefixed)
<sterni> oh right
<sterni> I'm dumb anyways I don't really want that
<sterni> good that you point it out but for a different reason :p
<samueldr> though I don't know a "proper" answer, search around for how CC is set in Nixpkgs I guess
<sterni> taking the C compiler to use at runtime from stdenv is not a good idea
<sterni> wait stdenv.targetPlatform.cc it is then?
<sterni> oh wait it doesn't have a compiler
<FRidh> C=${stdenv.cc.targetPrefix}c
<abathur> gchristensen: oh?
<gchristensen> abathur: yeah, make /bin/sh osh, then clone hydra, nix-shell, ./bootstrap
<sterni> gchristensen: nixos-unstable is building again :)
<sterni> FRidh: thx
<gchristensen> sterni, supersandro2000: <3 thank you both very much for getting those to green!
<sterni> best practice for a C compiler for the target platform is probably taking gcc or clang as an input?
<sterni> would've been neat to have it overrideable easily
<FRidh> was missing a c at both lhs and rhs
ris has joined #nixos-dev
<sterni> gchristensen: lets hope the flaky build decides to have a good day tomorrow
<gchristensen> fingers crossed
<sterni> cole-h: any news on the nixUnstable situation? it is currently still blocking the nixpkgs-unstable channel
<abathur> gchristensen: do you have a log? CI?
<gchristensen> this is with /nix/store/qppb4lblck0pmsdg3f3k3nav9sf7by34-oil-0.8.1/bin/osh
<cole-h> sterni: I'll just move it into nativeBuildInputs, as the linked nix PR does, and then merge after ofborg goes green.
<sterni> cole-h: sgtm
<supersandro2000> gchristensen: didn't do to much. Flakey tests are just not happening right now.
<cole-h> sterni: However, I'm not confident this'll fix the issue; it seems like the failing test is just flakey. I've seen it fail locally at times. Might have to disable that test until we know why it's so flakey / can create a better one that isn't as flakey
<sterni> seems like it rmcgibbo[m] posted this log earlier https://gist.github.com/rmcgibbo/257bbd103c7c3b833832369e2aa69cfb
<abathur> gchristensen: I guess the variable is empty and osh wants to insist return is a number; I wonder if there's a shopt for it, though I guess that may not help you
FRidh has quit [Quit: Konversation terminated!]
orivej has joined #nixos-dev
<cole-h> lol sterni it even happened on ofborg now
<cole-h> https://logs.nix.ci/?key=nixos/nixpkgs.117295&attempt_id=acdaa618-391c-409e-af1a-e446d9f445de
<cole-h> gonna add the "skip that test" to that PR then, since we want to unblock
<samueldr> cole-h: I also saw that flakey test fail a couple of time for me
<cole-h> reported upstream, pushing a commit that will skip that test https://github.com/NixOS/nix/issues/4667
<{^_^}> nix#4667 (by cole-h, 13 minutes ago, open): tests/ca/substitute.sh is flakey
<abathur> gchristensen: I posted a question about the behavior on Oil's zulip; I'll ping you when I hear back :)
<gchristensen> cool!
mkaito has joined #nixos-dev
mkaito has joined #nixos-dev
mkaito has quit [Changing host]
AlwaysLivid has quit [Ping timeout: 268 seconds]
<rmcgibbo[m]> @cole-h: minor note: it wasn't the bot that hit that error, it was just me manually running (my fork of) nixpkgs-review
AlwaysLivid has joined #nixos-dev
<cole-h> rmcgibbo[m]: thanks, edited :P
<cole-h> last call for reviews of https://github.com/NixOS/nixpkgs/pull/117295 before I hit the button
<{^_^}> #117295 (by cole-h, 1 day ago, open): nixUnstable: add util-linuxMinimal to nativeBuildInputs; skip flakey test
kini has quit [Quit: bye]
kini has joined #nixos-dev
AlwaysLivid has quit [Remote host closed the connection]
AlwaysLivid has joined #nixos-dev
srk has quit [Ping timeout: 268 seconds]
srk has joined #nixos-dev
<kraem> x/go 18
<kraem> whoops
evils has quit [Ping timeout: 256 seconds]
<Ericson2314> anyone wantt to review https://github.com/NixOS/nixpkgs/pull/117433/files ?
<Ericson2314> it's pretty boring
<sterni> cole-h: oh no, I guess it's test disabling time
<sterni> but good that flaky builds eventually also fail on ofborg :)
<cole-h> sterni: already did :)
<cole-h> made it part of that pr
<sterni> great!
mkaito has quit [Quit: WeeChat 3.1]
<Ericson2314> guess it's too boring for anyone to look at :P
<Ericson2314> merged
<sterni> Ericson2314: I looked at like a quarter of it and thought fair enough
<Ericson2314> cool, thanks
<sterni> but probably to boring to look at the rest and to form an opinion :p
<Ericson2314> I have a more interesting one doing multiple outputs
<Ericson2314> so save your energy for that
<sterni> I will
<sterni> apropos multiple outputs, I think this PR needs some opinions https://github.com/NixOS/nixpkgs/pull/110762, I also need to re review it one of these days
<{^_^}> #110762 (by pasqui23, 8 weeks ago, open): nixos/shells-pkgs: added environment.shellPkgs option
<sterni> I find it's a cool idea, just not sure if the implementation and options interface is quite right
<Ericson2314> sterni: i have a minute before meeting I'll look
kini has quit [Remote host closed the connection]
kini has joined #nixos-dev
<sterni> Ericson2314: be sure to send me your multiple outputs thing then
<{^_^}> #111487 (by Ericson2314, 7 weeks ago, open): Super WIP: llvmPackages: Clean up outputs, cross compile tools themselves
<sterni> rebasing should make the diff smaller
__monty__ has quit [Quit: leaving]
kini has quit [Remote host closed the connection]
kini has joined #nixos-dev
<{^_^}> #117537 (by Ekleog, 17 seconds ago, open): pull request template: cleanup
<sterni> +1 especially on the closure size thing
<supersandro2000> good idea