Commit 7fc9722e authored by K900's avatar K900
Browse files

lemmy-server: stop leaking rustc into runtime closure

parent 7fab2dfb
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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;