Unverified Commit d96a0969 authored by Doron Behar's avatar Doron Behar Committed by GitHub
Browse files

google-clasp: fix build by removing dangling symlinks (#385556)

parents 633cd024 f100a183
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -19,13 +19,17 @@ 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 = with lib; {
  meta = {
    description = "Develop Apps Script Projects locally";
    mainProgram = "clasp";
    homepage = "https://github.com/google/clasp#readme";
    changelog = "https://github.com/google/clasp/releases/tag/v${version}";
    license = licenses.asl20;
    maintainers = with maintainers; [ natsukium ];
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ natsukium ];
  };
}