sphalerite changed the topic of #nixos-dev to: NixOS Development (#nixos for questions) | NixOS 19.03 released! https://discourse.nixos.org/t/nixos-19-03-release/2652 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html https://r13y.com | 19.03 RMs: samueldr,sphalerite | https://logs.nix.samueldr.com/nixos-dev
pie_ has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 258 seconds]
init_6 has joined #nixos-dev
drakonis has quit [Quit: WeeChat 2.4]
manveru has quit [Ping timeout: 268 seconds]
manveru has joined #nixos-dev
init_6 has quit [Ping timeout: 258 seconds]
justanotheruser has quit [Ping timeout: 245 seconds]
callahad has quit [Ping timeout: 268 seconds]
callahad has joined #nixos-dev
orivej has joined #nixos-dev
chrisaw has left #nixos-dev [#nixos-dev]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 250 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 258 seconds]
xorAxAx has quit [Read error: Connection reset by peer]
xorAxAx has joined #nixos-dev
init_6 has joined #nixos-dev
<tilpner> Someone merge #54696, it's been sitting around for too long
<{^_^}> https://github.com/NixOS/nixpkgs/pull/54696 (by tilpner, 12 weeks ago, open): standardnotes: use appimageTools instead of appimage-run
<gchristensen> happy to once it passes
<tilpner> Ugh, wait. The PR was okay when I sent it, but there have been changes since
* tilpner doesn't even care about standardnotes
<gchristensen> heh
<gchristensen> wrapType2? I'm impressed it was given such a ... I guess you'd call that a name :P
<andi-> it is interesting and a bit spooky that we have wrapped appimages..
<tilpner> gchristensen: They are called type 1 and type 2 though
<gchristensen> oh ok
<gchristensen> then I guess my grievance is with appimage itself :P
* tilpner gets all grumpy at dtz
<tilpner> Yes, I didn't have time to review your PR for two days, but then you just merged it without addressing the issue I pointed out :(
<gchristensen> dtz: ^
init_6 has quit []
<dtz> !!! I truly thought it was addressed :(
<dtz> apologies, will go fix if hasn't been already
<dtz> tilpner: I had a local change that explains why I didn't see it :( sorry
<Profpatsch> I think I broke the evaluator?
<Profpatsch> This was the minimal example I could find, nix doesn’t instantiate a necessary drv and complains that the path is invalid
<Profpatsch> Invalid means that a path does not exist from what I could see in the nix source code
justanotheruser has joined #nixos-dev
<{^_^}> nix#2786 (by Profpatsch, 7 minutes ago, open): Nix evaluator is not creating necessary derivation
jtojnar has quit [Remote host closed the connection]
drakonis has joined #nixos-dev
<tilpner> dtz: So my PR was merged into master a month ago without me knowing, and without closing the PR? That's good to know
<tilpner> dtz: I would not have merged this with your changes that allow to pass arbitrary attributes along
<tilpner> dtz: Things like meta don't need to overrideAttrs anymore after your minetime PR was merged
<dtz> agreed. i don't think standardnotes PR was merged? I'm not sure, is that the PR you're referring to? ( https://github.com/NixOS/nixpkgs/pull/54696 )
<{^_^}> #54696 (by tilpner, 13 weeks ago, open): standardnotes: use appimageTools instead of appimage-run
<dtz> oh, I merged it in my fork, for testing purposes? Maybe that's what you're seeing? Not any branch on NixOS/nixpkgs repo AFAIK
<tilpner> dtz: Oh, yes, I got that wrong
<tilpner> dtz: I don't want to be harsh, I'm a little off today, sorry about that
<dtz> it's okay. I did break things despite explicitly being told it would :(, I'd be furious in such a situation and hard-pressed to stay civil :P. But appreciate the comment and sorry about your day.
<tilpner> Can you move the defaulting of extraPkgs into wrapAppImage and wave that through with maintainers powers?
<tilpner> See the comment on the minetime PR for why
<tilpner> And then you make a point I hadn't considered about multiPkgs/extraPkgs
<tilpner> I just copied that from the Steam chroot, but I imagine a lot fewer AppImages need that than games do (I don't really know though)
<tilpner> Feel free to fix up that situation by clearing most of multiPkgs
<dtz> oh, did you see what I've been doing (kinda kludge) for dropping the 32bit packages? :3 it's not the worst but ...
<dtz> oh I assumed, dumbly apparently, appimage spec or something 'required' we have both 32 and 64
<tilpner> No, I never thought about that
<dtz> haha okay :)
<tilpner> I just wanted a quick way to run one AppImage
<tilpner> I've since not needed another AppImage, yet somehow I felt required to maintain this nonsense
<dtz> I... oh! the defaulting, I couldn't figure out what you meant but it probably works if drop entirely from wrapType{1,2} (but forwarded via @args)
<tilpner> And then someone started using appimage-run in packages, and that was so horrible I had to fix that too
<dtz> many of these are electron and hopefully we can package them in another way soon... but in the meantime it's nice to use them in a more nix-y way
<dtz> hahaha
<dtz> and now you're the appimage build infrastructure maintainer
<dtz> :P
<tilpner> I believe you touched it last, you're it now c.c
<dtz> nooooo
<dtz> haha
* dtz accepts his fate
<tilpner> So, I want to remove the .overrideAttrs from the standardnotes PR
<dtz> mmhmm
<tilpner> That requires that you add the defaulting to wrapAppImage
<tilpner> And then you merge that, and I never touch this part of nixpkgs again
* dtz is sending PR for that shortly
chrisaw has joined #nixos-dev
* tilpner reviews
<chrisaw> Just pushed my first ever package to master so please do let me know if I've missed anything. :)
<chrisaw> Or rather *PR'd my first ever package...
<dtz> tilpner: LMK if you know a way to leverage something like wrapGAppsHook, instead of the partial kludge I'm doing re:setting XDG_DATA_DIRS and such. Couldn't come up with a reasonable approach :/
<chrisaw> I'm guessing I need to drop the .asar and .libxkbfile ?
<dtz> (will get back to you if I can, but will be a bit, sorry!)
<chrisaw> No worries, pushed a fix just now.
<lopsided98> chrisaw: You should try to test it locally; you will catch a lot the issues that way
<chrisaw> @lopsided98 Yeah good call - I did test it as an overlay but there's a fair bit of tinkering to go from that to a full package I guess.
<lopsided98> You didn't add it to all-packages.nix, so it really isn't part of nixpkgs right now
<lopsided98> Once you do that, you can run "nix build -f . rambox-pro" to test it
<chrisaw> Heh, eep. I made a fair few mistakes. Pushing a fix now.
<tilpner> dtz: I tried testing this, but for some reason standardnotes stays at a white screen now
<tilpner> dtz: I have no idea why, and I don't really want to know. Can you reproduce that locally?
<tilpner> dtz: I pushed it to #60381
<{^_^}> https://github.com/NixOS/nixpkgs/pull/60381 (by dtzWill, 35 minutes ago, open): appimage: move extraPkgs default'ing to wrapAppImage
<tilpner> Uhh, wrong number
<tilpner> #54696
<{^_^}> https://github.com/NixOS/nixpkgs/pull/54696 (by tilpner, 13 weeks ago, open): standardnotes: use appimageTools instead of appimage-run
<tilpner> It works without your new PR merged because you inherit extraPkgs there
<tilpner> Oh, it sometimes works
<tilpner> That's... great
<tilpner> dtz: It also complains: Unhandled rejection Error: APPIMAGE env is not defined
<tilpner> Maybe that's something the new maintainer can set
orivej has joined #nixos-dev
justan0theruser has joined #nixos-dev
justanotheruser has quit [Ping timeout: 255 seconds]
justanotheruser has joined #nixos-dev
justan0theruser has quit [Ping timeout: 244 seconds]
justan0theruser has joined #nixos-dev
justanotheruser has quit [Ping timeout: 246 seconds]
justan0theruser is now known as justanotheruser
justanotheruser has quit [Ping timeout: 246 seconds]
orivej has quit [Ping timeout: 246 seconds]
<dtz> weird, seems to work for me just fine :3
<dtz> oh, well I'm testing w/3.0.8 so maybe that matters dunno
justanotheruser has joined #nixos-dev
<tilpner> I picked that one too
<tilpner> dtz: It only runs fine the first time in a clean jail
<tilpner> Every subsequent run leads to a white window
<tilpner> But curiously the UI structure is still there. Right-click menu works, and the cursor changes as it hovers over different elements
<tilpner> It just doesn't render
<tilpner> dtz: Please checkout the linked PR and try running that twice
<dtz> tilpner: running twice doesn't seem to change behavior BUT I am seeing a few javascript backtraces and mention of APPIMAGE env error
<dtz> tilpner: errors reproducibly go away when using 3.0.8 instead of 3.0.6, perhaps that'll help your rendering issue?