doctoc: remove dangling symlinks

Fixes https://github.com/NixOS/nixpkgs/issues/409046
This commit is contained in:
Jasper Orschulko
2025-05-20 14:00:52 +02:00
parent 2b913f9269
commit 5c380be4d3
+4
View File
@@ -18,6 +18,10 @@ buildNpmPackage rec {
npmDepsHash = "sha256-TbAnFpiN/v6xjQQznL/B180f0W48HPRqW21cO9XZhYA=";
postInstall = ''
find $out/lib/node_modules -xtype l -delete
'';
dontNpmBuild = true;
passthru.tests = {