Skip to content

Commit f100a18

Browse files
committed
google-clasp: fix build by removing dangling symlinks
1 parent 33cd05c commit f100a18

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkgs/by-name/go/google-clasp/package.nix

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

2020
# `npm run build` tries installing clasp globally
2121
npmBuildScript = [ "compile" ];
22+
# Remove dangling symlink of a dependency
23+
postInstall = ''
24+
rm $out/lib/node_modules/@google/clasp/node_modules/.bin/sshpk-{verify,sign,conv}
25+
'';
2226

2327
meta = {
2428
description = "Develop Apps Script Projects locally";

0 commit comments

Comments
 (0)