| 12 Apr 2026 |
| leona changed their profile picture. | 12:15:39 |
| 24 Apr 2026 |
| @autra:trancart.eu left the room. | 09:45:12 |
| @d:bugpara.de left the room. | 20:52:34 |
| 26 Apr 2026 |
| debugloop joined the room. | 03:45:48 |
| 28 Apr 2026 |
| Aangularity joined the room. | 04:39:28 |
| 30 Apr 2026 |
Moritz Sanft | How do I apply a patch like this with buildGoModule? It patches go.{mod,sum}, so it would need to happen before fetching the Go modules. A primitive try like this didn't work:
(_final: prev: {
grafana-alloy = prev.grafana-alloy.overrideAttrs (oldAttrs: {
patches = oldAttrs.patches or [ ] ++ [
(prev.fetchpatch {
url = "https://github.com/xingzihai/alloy/commit/7fa0cbce40c5d09cec5f6b45a10de823ec0c9732.patch";
hash = "sha256-uyGhNiIE09tkMekJ+Wm+CBfT0q2RmEPRAwOk/BaZQSk=";
})
];
vendorHash = "...";
});
})
| 07:50:23 |
Moritz Sanft | ^ Solution was to do:
patchPhase = ''
patch -p1 < ${m1cpuPatch}
''
Not sure if this is due to grafana-alloy having a custom patchPhase.
| 08:12:10 |
| isabel changed their profile picture. | 18:46:54 |
| 3 May 2026 |
| isabel changed their profile picture. | 10:38:42 |
| 4 May 2026 |
| @rasmata:matrix.org joined the room. | 22:08:44 |
| @rasmata:matrix.org left the room. | 22:08:53 |
| 7 May 2026 |
j-k | yes, it shouldn't completely replace the patchPhase it should do a prePatch or a postPatch. Especially when it's just to feed a constant at buildtime... | 13:53:41 |
| 9 May 2026 |
| whispers [& it/fae] joined the room. | 16:21:26 |