24 Apr 2022 |
Ralith | dropping element's cache might or might not help get things into a more consistent state | 15:15:59 |
hexa | In reply to @robert:funklause.de Any idea what to do if Element won't let me leave a room? I don't get new messages in that room and can no longer post to it. But leaving it just doesn't work on desktop and on Android the spinning wheel never stops spinning when I try to leave the room. ideally some operator of the room can kick you if you still appear on the room roster | 15:19:30 |
26 Apr 2022 |
| @janejasperous:one.ems.host set a profile picture. | 10:12:44 |
| a-kenji joined the room. | 11:57:57 |
1 May 2022 |
| continuouswave changed their display name from ContinuousWave to Chinchilla Washington. | 06:52:59 |
3 May 2022 |
dotlambda | In reply to @robert:funklause.de Any idea what to do if Element won't let me leave a room? I don't get new messages in that room and can no longer post to it. But leaving it just doesn't work on desktop and on Android the spinning wheel never stops spinning when I try to leave the room. Synapse seems to have fixed itself 🎉 | 07:10:03 |
4 May 2022 |
@piegames:matrix.org | https://matrix.org/blog/2022/05/04/0-34-0-security-release-for-matrix-appservice-irc-high-severity | 08:15:29 |
hexa | update landed on master | 08:59:22 |
hexa | https://github.com/NixOS/nixpkgs/pull/171510 | 09:06:53 |
8 May 2022 |
| kraftnix set a profile picture. | 17:46:11 |
9 May 2022 |
| @silvio:booq.org joined the room. | 12:26:56 |
14 May 2022 |
Sumner Evans | I'm trying to convert the element-web build to build from source: https://github.com/NixOS/nixpkgs/pull/172928
I'm running into the following error:
nix-env failed:
warning: ignoring the user-specified setting 'restrict-eval', because it is a restricted setting and you are not a trusted user
error: while evaluating anonymous function at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-3/.gc-of-borg-outpaths.nix:47:12, called from undefined position:
while evaluating anonymous function at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-3/pkgs/top-level/release-lib.nix:123:6, called from /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-3/lib/attrsets.nix:414:43:
while evaluating 'hydraJob' at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-3/lib/customisation.nix:218:14, called from /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-3/pkgs/top-level/release-lib.nix:123:14:
while evaluating the attribute 'drvPath' at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-3/lib/customisation.nix:235:13:
while evaluating the attribute 'drvPath' at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-3/lib/customisation.nix:203:13:
while evaluating the attribute 'configurePhase' of the derivation 'element-desktop-1.10.12' at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-3/pkgs/stdenv/generic/make-derivation.nix:278:7:
while evaluating 'importJSON' at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-3/lib/trivial.nix:305:16, called from /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-3/pkgs/development/tools/yarn2nix-moretea/yarn2nix/default.nix:255:17:
cannot read '/nix/store/mc1xxs1k72265yxy4f74r3al8j3shfap-source/package.json', since path '/nix/store/frvz7x58khqis4fzq9g5lgmrrw6m8rf3-source.drv' is not valid, at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-3/lib/trivial.nix:306:24
I thought that I could avoid having to download the package.json since it's included in the src , but maybe not?
| 01:42:47 |
Dandellion | I wouldnt be surprised if that'd lead to an IFD | 02:00:22 |
Sumner Evans | In reply to @dandellion:dodsorf.as I wouldnt be surprised if that'd lead to an IFD what's an IFD? | 02:00:45 |
Dandellion | Import from derivation | 02:01:49 |
Dandellion | basically when you have to do things in nix based on what's inside a derivation, it moves realising that derivation to the evaluation step. Which is obviously problematic and banned in nixpkgs | 02:03:05 |
Dandellion | I've attempted to do this whole thing myself to run some patches, but it's pretty hard | 02:04:33 |
Dandellion | I hope you managed to crack it! | 02:04:39 |
Dandellion | * I hope you manage to crack it! | 02:05:00 |
Sumner Evans | In reply to @dandellion:dodsorf.as basically when you have to do things in nix based on what's inside a derivation, it moves realising that derivation to the evaluation step. Which is obviously problematic and banned in nixpkgs oh, that makes sense... not sure why the mkYarnPackage has that as default then | 02:05:05 |
Dandellion | The absolute end-goal for the element packages would probably be to package matrix-react-sdk separately and using that build element-web and using that to build the electron app. But that's like, prohibitively difficult I think | 02:10:19 |
Sumner Evans | In reply to @dandellion:dodsorf.as I hope you manage to crack it! 🤞 ideally once it's merged, you should be able to override matrix-react-sdk and matrix-js-sdk with your own fork (https://github.com/sumnerevans/home-manager-config/blob/master/modules/communication.nix) | 02:10:22 |
Sumner Evans | In reply to @dandellion:dodsorf.as The absolute end-goal for the element packages would probably be to package matrix-react-sdk separately and using that build element-web and using that to build the electron app. But that's like, prohibitively difficult I think I was actually wondering about that... it's definitely not impossible: https://github.com/sumnerevans/home-manager-config/blob/master/pkgs/element/matrix-react-sdk.nix | 02:11:02 |
Dandellion | that's less hacky than what I imagined so that's neat | 02:13:25 |
Sumner Evans | If this gets merged, then I'll probably refactor matrix-react-sdk and matrix-js-sdk out as well to make overriding them easier | 02:13:58 |
Dandellion | that'd be great I think | 02:14:10 |
Sumner Evans | ya, those are the two projects where actual changes happen haha | 02:14:26 |
Dandellion | I'm sitting on a >greentext command patch that I never bothered to deploy after it was rejected from upstream | 02:14:51 |
Sumner Evans | greentext? | 02:15:10 |
Dandellion | https://github.com/matrix-org/matrix-react-sdk/pull/5835 | 02:16:13 |