Skip to content

Commit 2795c50

Browse files
authored
doctoc: remove dangling symlinks (#409051)
2 parents a4e8e74 + 5c380be commit 2795c50

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkgs/by-name/do/doctoc/package.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ buildNpmPackage rec {
1818

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

21+
postInstall = ''
22+
find $out/lib/node_modules -xtype l -delete
23+
'';
24+
2125
dontNpmBuild = true;
2226

2327
passthru.tests = {

0 commit comments

Comments
 (0)