mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +03:00
b52dc90663
Improvements to the Nix configuration so that macOS is supported. Microsoft SQL Server is still not supported (yet; I have something in mind there), but the rest works. You can still use Homebrew to install the SQL Server drivers. I had to make the following changes: * I updated nixpkgs, because it's been a while. * I made `ODBCINSTINI` optional so that it's not loaded on macOS, as it depends on `msodbcsql17`, which is broken on macOS. * I upgraded OpenSSL. * I set `DYLD_LIBRARY_PATH` on macOS so GHC finds OpenSSL; otherwise, it uses the wrong version of `libcrypto`, and fails with a fun error: > WARNING: ghc is loading libcrypto in an unsafe way * I patched GHC to fix compilation on macOS (copied from https://github.com/NixOS/nixpkgs/pull/149942). To test this out, you can run `nix develop` (or install [direnv][] and add `use flake` to _.envrc.local_), and then try building HGE in the shell provided. Fair warning: GHC needs to be built, and takes _aaages_ the first time. If this becomes useful to others, we can set up a shared cache. [direnv]: https://direnv.net/ PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5989 GitOrigin-RevId: 7130738d47709c37778b31c134061758ce23e959 |
||
---|---|---|
.. | ||
coalesce_run_sql | ||
containers | ||
edit-pg-dump | ||
ekg | ||
make | ||
bigquery.sh | ||
cabal-freeze-update.sh | ||
cabal-run.sh | ||
data-sources-util.sh | ||
dev.sh | ||
dump-remote-schema.js | ||
extract-notes.sh | ||
generate_brand_assets_readme.sh | ||
get-version.sh | ||
hoogle.sh | ||
hpack.sh | ||
parse-pytest-backend | ||
performance_report.sh | ||
post-release.sh | ||
tag-release.sh | ||
verify-bigquery-creds.sh |