Skip to content

Commit

Permalink
revert: build: enable the build:dns-fallback step from `npm run gen…
Browse files Browse the repository at this point in the history
…erate`
  • Loading branch information
jnsgruk committed Aug 1, 2024
1 parent c7ef18d commit f4a397f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 90 deletions.
83 changes: 0 additions & 83 deletions snap/patches/dns-fallback-use-resolve.patch

This file was deleted.

7 changes: 0 additions & 7 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,6 @@ parts:
git lfs install
# When running `npm run build:dns-fallback`, the code tries to use `dns.lookup` from
# the NodeJS standard library, which makes a `getaddrinfo` syscall to try and resolve
# domain names, which seems to fail on Launchpad builders. This patch replaces the
# logic to use `dns.resolve4` and `dns.resolve6` instead.
git apply $CRAFT_PROJECT_DIR/snap/patches/dns-fallback-use-resolve.patch
# Update the package.json so the build uses the patched libraries
cat package.json \
| jq -r --arg f "file:${PWD}/../../better-sqlite3/build" '.dependencies."@signalapp/better-sqlite3"=$f' \
Expand All @@ -158,7 +152,6 @@ parts:
npm run build-protobuf
npm run build:esbuild
npm run build:icu-types
npm run build:dns-fallback
npm run build:compact-locales
npm run sass
npm run get-expire-time
Expand Down

0 comments on commit f4a397f

Please sign in to comment.