diff --git a/pkgs/by-name/sn/snyk/package.nix b/pkgs/by-name/sn/snyk/package.nix index bd1c0fd74c36..18acb50681e9 100644 --- a/pkgs/by-name/sn/snyk/package.nix +++ b/pkgs/by-name/sn/snyk/package.nix @@ -8,7 +8,7 @@ }: let - version = "1.1295.2"; + version = "1.1295.3"; in buildNpmPackage { pname = "snyk"; @@ -18,7 +18,7 @@ buildNpmPackage { owner = "snyk"; repo = "cli"; tag = "v${version}"; - hash = "sha256-cHOIToO9xr+CNS0llwffaTUdhUqFbFcZcrPnBeD+JxE="; + hash = "sha256-I7x+HjucTEhiAC6bocMeQO/eAWHYcqwA9FXYvcef3Og="; }; npmDepsHash = "sha256-RuIavwtTbgo5Ni7oGH2i5VAcVxfS4wKKSX6qHD8CHIw="; @@ -28,6 +28,11 @@ buildNpmPackage { --replace-fail '"version": "1.0.0-monorepo"' '"version": "${version}"' ''; + postInstall = '' + # Remove dangling symlinks created during installation (remove -delete to just see the files, or -print '%l\n' to see the target + find -L $out -type l -print -delete + ''; + nodejs = nodejs_20; npmBuildScript = "build:prod";