Skip to content

Commit 1718df2

Browse files
authored
swagger-cli: remove broken symlinks (NixOS#399268)
2 parents f171cc9 + e1ef77b commit 1718df2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkgs/by-name/sw/swagger-cli/package.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ buildNpmPackage rec {
2121
npm run bump
2222
'';
2323

24+
postInstall = ''
25+
find $out/lib/node_modules -xtype l -delete
26+
'';
27+
2428
meta = with lib; {
2529
description = "Swagger 2.0 and OpenAPI 3.0 command-line tool";
2630
homepage = "https://apitools.dev/swagger-cli/";

0 commit comments

Comments
 (0)