nix-output-monitor on main
2 files changed, 36 insertions, 0 deletions
diff --git a/packages/nheko-1.patch b/packages/nheko-1.patch
new file mode 100644
index 0000000..63f52bd
--- /dev/null
+++ b/packages/nheko-1.patch
@@ -0,0 +1,34 @@
+diff --git a/resources/qml/delegates/Reply.qml b/resources/qml/delegates/Reply.qml
+index 77cad0f0..b80086af 100644
+--- a/resources/qml/delegates/Reply.qml
++++ b/resources/qml/delegates/Reply.qml
+@@ -62,23 +62,20 @@ AbstractButton {
+
+ clip: r.limitHeight
+
+- height: r.limitHeight ? Math.min( timelineEvent.main?.height, timelineView.height / 10) + Nheko.paddingSmall + usernameBtn.height : undefined
++ height: r.limitHeight ? (Math.min( timelineEvent.main?.height, timelineView.height / 10) + Nheko.paddingSmall + usernameBtn.height) : undefined
+
+ // FIXME: I have no idea, why this name doesn't render in the reply popup on Qt 6.9.2
+ AbstractButton {
+ id: usernameBtn
+
+- visible: r.eventId
+-
+ contentItem: Label {
+- visible: r.eventId
+ id: userName_
+- text: r.userName
+- color: r.userColor
+- textFormat: Text.RichText
+- width: timelineEvent.main?.width
++ text: r.userName ?? 'missing name'
++ //color: r.userColor
++ //textFormat: Text.RichText
++ width: timelineEvent.main?.width ?? 1000
+ }
+- onClicked: room.openUserProfile(r.userId)
++ // onClicked: room.openUserProfile(r.userId)
+ }
+
+ data: [
diff --git a/packages/nheko-git.nix b/packages/nheko-git.nix
index c392d2f..af7d035 100644
--- a/packages/nheko-git.nix
+++ b/packages/nheko-git.nix
@@ -40,6 +40,8 @@ stdenv.mkDerivation {
version = "git+master";
src = nhekoSrc;
+ #patches = [ ./nheko-1.patch ];
+
nativeBuildInputs = [
lmdbxx
cmake
|