| 11 Mar 2025 |
@lynatic:catgirl.cloud | huh I thought that was the entire point of nix | 17:09:25 |
K900 | There are intentional impurities | 17:09:48 |
K900 | There are also unavoidable impurities | 17:10:05 |
K900 | Like the kernel | 17:10:08 |
@lynatic:catgirl.cloud | so this just doesn't work as of now/we have to either use stable or make the full system from nixos unstable?
https://wiki.nixos.org/wiki/Home_Assistant#Tracking_the_latest_release | 17:11:17 |
@hexa:lossy.network | this was the issue | 17:12:22 |
@hexa:lossy.network | I LD_PRELOAD'ed and incompatible libjemalloc | 17:12:33 |
@hexa:lossy.network | commit 8c9755e515014f97a1985d19030ec90cb60785b4
Author: Martin Weinelt <hexa@darmstadt.ccc.de>
Date: Wed Jan 1 23:59:50 2025 +0100
home-assistant: use unstable jemalloc to match native dependencies
Otherwise home-assistant runs into import errors, e.g. on microvad
ImportError: /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6: version `CXXABI_1.3.15' not found
diff --git a/modules/home-assistant/default.nix b/modules/home-assistant/default.nix
index 538c627..26a958e 100644
--- a/modules/home-assistant/default.nix
+++ b/modules/home-assistant/default.nix
@@ -20,7 +20,7 @@ in
./zigbee2mqtt.nix
];
- systemd.services.home-assistant.environment.LD_PRELOAD = "${lib.getLib pkgs.jemalloc}/lib/libjemalloc.so";
+ systemd.services.home-assistant.environment.LD_PRELOAD = "${lib.getLib unstable.jemalloc}/lib/libjemalloc.so";
services.home-assistant = {
enable = true;
| 17:13:45 |
| * philipp is avoiding impurities by having home-assistant in a microvm.nix | 17:15:57 |
@lynatic:catgirl.cloud | I somehow managed to have this problem while having this in a microvm already aaaa | 17:19:49 |
@lynatic:catgirl.cloud | thanks, I'll try fixing my install to use that module declaration then | 17:20:25 |
@hexa:lossy.network | are you also using jemalloc? | 17:20:41 |
@hexa:lossy.network | or is your problem caused by sth else | 17:20:56 |
@hexa:lossy.network | because you have not yet posted any error | 17:21:09 |