!vxTmkuJzhGPsMdkAOc:transformierende-gesellschaft.org

NixOS Matrix Subsystem

139 Members
Coordination and discussion about the matrix subsystem in NixOS - https://nixos.wiki/wiki/Matrix70 Servers

Load older messages


SenderMessageTime
1 May 2022
@cw:kernelpanic.cafeChuck Winter changed their display name from ContinuousWave to Chinchilla Washington.06:52:59
3 May 2022
@robert:funklause.dedotlambda
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.orgpiegameshttps://matrix.org/blog/2022/05/04/0-34-0-security-release-for-matrix-appservice-irc-high-severity08:15:29
@hexa:lossy.networkhexaupdate landed on master08:59:22
@hexa:lossy.networkhexahttps://github.com/NixOS/nixpkgs/pull/17151009:06:53
8 May 2022
@kraftnix:matrix.orgkraftnix set a profile picture.17:46:11
9 May 2022
@silvio:booq.org@silvio:booq.org joined the room.12:26:56
14 May 2022
@sumner:nevarro.spaceSumner 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:dodsorf.asDandellionI wouldnt be surprised if that'd lead to an IFD02:00:22
@sumner:nevarro.spaceSumner 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:dodsorf.asDandellionImport from derivation02:01:49
@dandellion:dodsorf.asDandellionbasically 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 nixpkgs02:03:05
@dandellion:dodsorf.asDandellionI've attempted to do this whole thing myself to run some patches, but it's pretty hard02:04:33
@dandellion:dodsorf.asDandellionI hope you managed to crack it!02:04:39
@dandellion:dodsorf.asDandellion * I hope you manage to crack it!02:05:00
@sumner:nevarro.spaceSumner 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:dodsorf.asDandellionThe 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:nevarro.spaceSumner 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:nevarro.spaceSumner 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:dodsorf.asDandellionthat's less hacky than what I imagined so that's neat02:13:25
@sumner:nevarro.spaceSumner EvansIf this gets merged, then I'll probably refactor matrix-react-sdk and matrix-js-sdk out as well to make overriding them easier02:13:58
@dandellion:dodsorf.asDandellionthat'd be great I think02:14:10
@sumner:nevarro.spaceSumner Evansya, those are the two projects where actual changes happen haha02:14:26
@dandellion:dodsorf.asDandellionI'm sitting on a >greentext command patch that I never bothered to deploy after it was rejected from upstream02:14:51
@sumner:nevarro.spaceSumner Evansgreentext?02:15:10
@dandellion:dodsorf.asDandellionhttps://github.com/matrix-org/matrix-react-sdk/pull/583502:16:13
@sumner:nevarro.spaceSumner Evansmy motivation was that Beeper implemented custom emojis (just putting an MXC URI into the key of the reaction) and all my coworkers are using them, but I'm using Element and couldn't see them, and also I finally got annoyed enough by https://github.com/matrix-org/matrix-react-sdk/pull/8590 that I decided to go fix it02:17:46
@dandellion:dodsorf.asDandellion👀 you have an element custom emote patch that isn't in license-hell 👀 02:18:30
@dandellion:dodsorf.asDandellion * 👀 you have an element custom emote patch that isn't in license-hell? 👀 02:18:35
@dandellion:dodsorf.asDandellion * 👀 you have an element-web custom emote patch that isn't in license-hell? 👀 02:18:48

Show newer messages


Back to Room ListRoom Version: 4