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
<{^_^}> #83551 (by worldofpeace, 2 minutes ago, open): iso-image: normalize volumeID
<worldofpeace> that should made our volumeID's ok
<srk> worldofpeace++
<{^_^}> worldofpeace's karma got increased to 83
ixxie has quit [Ping timeout: 256 seconds]
<abathur> I've been working on a "resolver" or "linker" for external dependencies in shell scripts (along with a Nix build function). I've got it to the point where I'm using it to compose a chain of dependent shell scripts into my bashrc. I think it's a big leap towards making a case for Nix as a good package manager for shell projects. Fishing for some help/review/critique and even good-natured
<abathur> bikeshedding on how the Nix fraction is structured. Fishing for some help/review/critique and
<abathur> oops
<abathur> ignore the end-fragment :)
<cole-h> For someone to review would require a link ;^)
<abathur> https://github.com/abathur/resholved broadly, and https://github.com/abathur/resholved/blob/master/ci.nix for a reference on how I'm using the build function
<abathur> I also have a gist up with the built versions of the scripts that are composed together in the CI run https://gist.github.com/abathur/937877b1321f443400e0779314f2e02c
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos-dev
init_6 has joined #nixos-dev
bhipple has quit [Ping timeout: 256 seconds]
bhipple has joined #nixos-dev
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #nixos-dev
<cole-h> abathur: (hadn't taken a look until now) That looks pretty cool. Assuming all the py2 deps are because of oil?
<abathur> yeah
<abathur> it's a bit idiomatic
<abathur> I spoke with gc about this
<abathur> basically he's using a forked python 27, iinternally, which he feels (after having converted up to python 3) is actually more productive for his purpose of building a shell
<abathur> wrt to string/byte/unicode handling
<cole-h> Yeah, I remember reading something along those lines in the docs somewhere
<cole-h> I just always go wide-eyed when I see py2 deps (in this case, it's understandable)
<abathur> nod
<abathur> I did, too
<abathur> I had a long chat with andy of oilshell about it
<abathur> can find the lnik if you want
<cole-h> I'm sure I can find it if I search the zulip (unless it was elsewhere)
<cole-h> abathur: Assuming it's the "future/fate of python2 code" stream-thing (I dunno what it should be called) in oil-dev?
<abathur> it's on zulip, yeah
<abathur> thread
<abathur> (and yes, that's it)
<cole-h> abathur++ Good reading material for the next time I have nothing to do :P Thanks.
<{^_^}> abathur's karma got increased to 1
<abathur> my working assumption is that if it's useful enough of a tool, and if py27 becomes a problem, the work-hours to convert it will be available
<abathur> and if not, it won't deserve the upconvert :)
<abathur> the TLDR of the thread is that he has converted it up to 3 before, though, and doesn't think it would be too bad to do so again
<cole-h> Interesting. Thanks again.
<abathur> :]
init_6 has quit [Ping timeout: 264 seconds]
andi- has quit [Remote host closed the connection]
andi- has joined #nixos-dev
init_6 has joined #nixos-dev
init_6 has quit [Ping timeout: 250 seconds]
drakonis has quit [Quit: WeeChat 2.7.1]
lovesegfault has quit [Quit: WeeChat 2.7.1]
FRidh has joined #nixos-dev
orivej has quit [Ping timeout: 250 seconds]
tilpner has quit [Quit: tilpner]
cole-h has quit [Quit: Goodbye]
tilpner has joined #nixos-dev
ixxie has joined #nixos-dev
puck has quit [Ping timeout: 256 seconds]
<globin> niksnut: ping on https://github.com/NixOS/nix/pull/3216
<{^_^}> nix#3216 (by Ma27, 19 weeks ago, open): Add an optional `hash` parameter to `builtins.fetchGit`
Jackneill has joined #nixos-dev
bennofs has joined #nixos-dev
<yorick> globin: wouldn't it be possible to chain builtins.path for that?
<rnhmjoj> do you know if/when stackage will be updated on 20.03?
__monty__ has joined #nixos-dev
orivej has joined #nixos-dev
<srk> Dandellion: domenkozar[m]: for PA:Titans there's a tool to patch the game .. https://wiki.palobby.com/wiki/Linux/SteamOS .. just wow
<domenkozar[m]> yeah spring has the same crap
<srk> really? how come?
<srk> can't build from source?
<srk> I've cloned robot war engine and gonna give it shot today when I'm done with PA
<domenkozar[m]> you can, but there's no official release
<domenkozar[m]> I had to spend quite some time figuring out how it all fits together
<srk> the game was basically abandoned
<srk> yeah, games are not that easy to build
<srk> do you have nix files somewhere for it?
<domenkozar[m]> you can play it
<domenkozar[m]> nix-build -a springLobby
<domenkozar[m]> eh, -A
<srk> ah, ok
<domenkozar[m]> (on master)
<domenkozar[m]> I can invite you to discord where we have a few friends that play occasionally too
<srk> yeah, no problem with that if it can build nvidia
<srk> yup, the last invite expired
<srk> like my computer probably can't run both discord and the game at the same time but for coordination it's fine I guess :)
<srk> building springlobby-0.267
<domenkozar[m]> I use discord on my phone
<domenkozar[m]> so I can move around :D
* srk heads to PA's discord hunting for uberent credentials /o\
<srk> ty!
<srk> domenkozar[m]: hah, good idea, or I can use another computer xD
<srk> lol, now my discord account needs to be verified, joined too many groups in short interval?
puck has joined #nixos-dev
<srk> nvm, just a misclick
<gchristensen> it captures all the paths to build-time compilers and library
<pie_[bnc]> gchristensen: aha.
<pie_[bnc]> could we maybe do something less drastic
<gchristensen> what for?
<pie_[bnc]> why? because debugging
<pie_[bnc]> im acutally not sure yet how this is supposed to work, the one example of it i found by googling looks like:
<pie_[bnc]> and that has more than what it looks like the patch changes
<gchristensen> ah
<gchristensen> maybe something like nukeReferences would work
<pie_[bnc]> i got lucky because googling build info elided brought me right to the nix expression
<pie_[bnc]> id have been scratching my head
<pie_[bnc]> or rather, the default.nix uses the patch, the other two change the build file
<pie_[bnc]> hm ok so default is opencv2
<pie_[bnc]> i guess that probably explains that
<pie_[bnc]> 2.4 still has that so i have no idea why this is inconsistent
<pie_[bnc]> I opened an issue; https://github.com/NixOS/nixpkgs/issues/83595 (look good gchristensen?)
<{^_^}> #83595 (by deliciouslytyped, 22 seconds ago, open): Don't nuke all build information in opencv, consistency
zarel has joined #nixos-dev
teto has quit [Ping timeout: 246 seconds]
teto has joined #nixos-dev
ixxie has quit [Ping timeout: 256 seconds]
<NinjaTrappeur> Is there an easy trick to mass convert camelCase module option names to underscore_case?
<NinjaTrappeur> /r/module option names/strings
<tilpner> $ echo camelCase | sed -E 's/([A-Z])/_\L\1/g'
<tilpner> camel_case
<tilpner> $ echo camÄlCase | sed -E 's/([[:upper:]])/_\L\1/g'
<tilpner> cam_äl_case
<tilpner> NinjaTrappeur: ^
<NinjaTrappeur> right, thanks
ixxie has joined #nixos-dev
cole-h has joined #nixos-dev
spacekookie has quit [Quit: **agressive swooshing**]
spacekookie has joined #nixos-dev
<infinisil> FRidh: Did you mean to post https://github.com/NixOS/rfcs/pull/42#issuecomment-605465666 in RFC 64?
<FRidh> infinisil: yea already changed it
justanotheruser has quit [Ping timeout: 256 seconds]
lovesegfault has joined #nixos-dev
teto has quit [Ping timeout: 246 seconds]
teto has joined #nixos-dev
<pie_[bnc]> anyone know much about python tests? I might try to work on getting wxpython4 tests enabled https://github.com/wxWidgets/Phoenix/issues/1316
<{^_^}> wxWidgets/Phoenix#1316 (by deliciouslytyped, 34 weeks ago, open): Tests behaving strangely with timeout
CRTified has quit [Ping timeout: 240 seconds]
<pie_[bnc]> I haven't learned how to use hydra, can someone close this if appropriate? https://github.com/NixOS/nixpkgs/issues/54865 It looks green to me.
<{^_^}> #54865 (by davidak, 1 year ago, open): wxPython build fails on staging
<pie_[bnc]> s/it//
justanotheruser has joined #nixos-dev
<jtojnar> why are there no recent staging-next evaluations? https://hydra.nixos.org/jobset/nixpkgs/staging-next#tabs-evaluations
<jtojnar> from the configuration tab, it looks like the check interval is 12 hours
<jtojnar> FRidh is it okay if I just start the evaluation manually?
abathur has quit [Ping timeout: 264 seconds]
<worldofpeace> Jan Tojnar: That sounds good to me
<worldofpeace> ma27++
<{^_^}> ma27's karma got increased to 3
<worldofpeace> ma27++
<{^_^}> ma27's karma got increased to 4
<worldofpeace> ma27++
<{^_^}> ma27's karma got increased to 5
<worldofpeace> ma27++
<{^_^}> ma27's karma got increased to 6
<worldofpeace> ma27: thank you so much
<gchristensen> ma27[m]++
<{^_^}> ma27[m]'s karma got increased to 1
<gchristensen> ma27++
<{^_^}> ma27's karma got increased to 7
<worldofpeace> just felt like I had to do that
<gchristensen> what is this for? :)
<worldofpeace> gchristensen: so much tbh
<ma27[m]> oh, thank you 😊
<worldofpeace> If any kind person/s could finish this https://github.com/NixOS/nixpkgs/pull/80848, you'd help me greatly
<{^_^}> #80848 (by worldofpeace, 4 weeks ago, open): rl-2003: mention python driver
Irenes[m] has joined #nixos-dev
abathur has joined #nixos-dev
<FRidh> jtojnar: yes you can trigger an eval
<FRidh> don't think anybody merged master into staging-next
<FRidh> i haven't been around much last couple of weeks
<worldofpeace> yeah, I think lovesegfault mentioned this to me
<jtojnar> Fridh I merge master → staging-next → staging every few days
<jtojnar> do you usually merge staging → staging-next before triggering the eval?
<lovesegfault> Yeah, I did
<lovesegfault> FWIW: I'd love to help with the whole staging process if you're not having time, FRidh
<FRidh> jtojnar: that's good for keeping the branches up to date. In this case, staging-next did not contain anything new, so staging had to be merged into it. I just did this and opened a PR for the new staging-next
<jtojnar> FRidh++
<{^_^}> FRidh's karma got increased to 18
<lovesegfault> FRidh++
<{^_^}> FRidh's karma got increased to 19
<{^_^}> #83618 (by FRidh, 6 minutes ago, open): Staging next
<FRidh> lovesegfault: good to hear. As jtojnar described, its basically doing those merges often (i try to do it daily but was away for awhile). And then, when staging-next looks good (about once a week) merge it into master and staging goes into staging-next again
<lovesegfault> FRidh: got it; what's the process to deal with large breakages while _still_ on `staging-next`?
<FRidh> also, PR's targetting staging are often not merged (but they can!), so typically going through those is a good idea either
<lovesegfault> i.e. is it okay to revert PRs, etc
<FRidh> if no fix is available or available and tested soon, then indeed revert.
<lovesegfault> got it
<FRidh> often it is also necessary to restart jobs on hydra. It's not uncommon that e.g. llvm fails on arm due to timeout
johnny101 has quit [Quit: Konversation terminated!]
FRidh has quit [Quit: Konversation terminated!]
<jtojnar> looks like hydra does not like it https://hydra.nixos.org/jobset/nixpkgs/staging-next#tabs-errors
Jackneill has quit [Ping timeout: 264 seconds]
bhipple has quit [Ping timeout: 264 seconds]
<samueldr> >> error: unexpected EOF reading a line
<samueldr> that's the same error that I had the other day
<samueldr> which makes me think the actual issue may be masked by hydra-eval-jobs
* samueldr looks
bhipple has joined #nixos-dev
ixxie has quit [Ping timeout: 256 seconds]
cole-h has quit [Quit: Goodbye]
<samueldr> jtojnar: 13938724 30646 write(8, "{\"error\":\"undefined variable 'common' at \\u001b[1m/Users/samuel/tmp/nixpkgs/master/nixos/modules/services/web-servers/nginx/default.nix\\u001b[0m:179:9\"}\n", 153) = 153
cole-h has joined #nixos-dev
<jtojnar> how do you check that?
<samueldr> hydra-eval-jobs running through strace
<samueldr> something's eating up the error messages
__monty__ has quit [Quit: Saving my tailfeathers!]
<samueldr> I'm opening an issue on the hydra project about that
justanotheruser has quit [Ping timeout: 258 seconds]
<gchristensen> can I persuade someone to follow some NixOps docs I wrote, to port a plugin to the new plugin infra?
<{^_^}> hydra#728 (by samueldr, 18 seconds ago, open): hydra-eval-jobs masking real errors
<gchristensen> samueldr++
<{^_^}> samueldr's karma got increased to 194
<gchristensen> oh this all stems from evaluating `tested` not really doing a good job anymore, right? :/
<samueldr> possibly
<samueldr> btw I'm not looking in fixing the issue, either nixpkgs' or hydra's
teto has quit [Ping timeout: 246 seconds]
<jtojnar> I am looking into the nixpkgs one
<lovesegfault> jtojnar: what's wrong with that commit?
<samueldr> \"error\":\"undefined variable 'common' at \\u001b[1m/Users/samuel/tmp/nixpkgs/master/nixos/modules/services/web-servers/nginx/default.nix\\u001b[0m:179:9\"
<samueldr> which is breaking the eval of staging-next and, most likely, nixos-unstable
<lovesegfault> oh, I see it
<lovesegfault> oh no
<samueldr> thanks jtojnar for looking into it
<gchristensen> along those lines, I popped another item off my todo stack and am one step closer to being able to update ofborg to use hydra-eval-jobs
<jtojnar> lovesegfault hmm, there is also cfg.commonHttpConfig but I suppose the newly introduced commonHttpConfig is the more likely replacement
<samueldr> you'll need that fix then gchristensen :)
<ma27[m]> gchristensen: just to avoid any misunderstandings: https://github.com/NixOS/nixpkgs/pull/83600 can be merged? :)
<{^_^}> #83600 (by Ma27, 7 hours ago, open): hydra: 2020-02-06 -> 2020-03-{24,27}
<gchristensen> ma27[m]: yes, and backported, please! :D
<lovesegfault> jtojnar: yeah, I think so too
teto has joined #nixos-dev
<jtojnar> fixed in ^
<lovesegfault> jtojnar++
<{^_^}> jtojnar's karma got increased to 35
<lovesegfault> cheers
justanotheruser has joined #nixos-dev
teto has quit [Ping timeout: 256 seconds]
teto has joined #nixos-dev
<jtojnar> samueldr that would be just running result/bin/hydra-eval-jobs pkgs/top-level/release.nix (or whatever expression is listed in the configuration tab of the jobset)?