Commit 80138878 authored by Jasper Orschulko's avatar Jasper Orschulko Committed by github-actions[bot]
Browse files

doctoc: remove dangling symlinks

Fixes https://github.com/NixOS/nixpkgs/issues/409046

(cherry picked from commit 5c380be4)
parent 2e90f0c2
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -18,6 +18,10 @@ buildNpmPackage rec {

  npmDepsHash = "sha256-TbAnFpiN/v6xjQQznL/B180f0W48HPRqW21cO9XZhYA=";

  postInstall = ''
    find $out/lib/node_modules -xtype l -delete
  '';

  dontNpmBuild = true;

  passthru.tests = {