lemmy-server: stop leaking rustc into runtime closure

This commit is contained in:
K900
2026-01-16 14:39:52 +03:00
parent 7fab2dfb39
commit 7fc9722e2e
+6
View File
@@ -64,6 +64,12 @@ rustPlatform.buildRustPackage rec {
"--skip=scheduled_tasks::tests::test_nodeinfo_lemmy_ml"
];
# This gets installed automatically by cargoInstallHook,
# but we don't actually need it, and it leaks a reference to rustc.
postInstall = ''
rm $out/lib/libhtml2md.so
'';
passthru.updateScript = ./update.py;
passthru.tests.lemmy-server = nixosTests.lemmy;