Commit f100a183 authored by Doron Behar's avatar Doron Behar
Browse files

google-clasp: fix build by removing dangling symlinks

parent 33cd05cf
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -19,6 +19,10 @@ buildNpmPackage rec {

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

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