Commit Graph

3 Commits

Author SHA1 Message Date
xzfc
10ce515ecf shell.nix: bump to rust 1.81, misc changes (#5185)
* shell.nix: add a comment

* tools/nix/update.py: let it run outside of the nix-shell

* shell.nix: bump to rust 1.81
2024-10-07 10:30:20 +00:00
Serhii Tatarintsev
ee587bfd04 shell.nix: Allow to build on x86 darwin (#4895)
* shell.nix: Allow to build on x86 darwin

I've tried to check out qdrant source code and build it on x86 mac
laptop, however, i found out a couple of issues with current
`shell.nix`.

- Couple of dependencies were missing.
- Default `CXXFLAGS` are not compatible with rocks-db (needs higher
  deployment target).
- Mold setup did not work with clang out of the box.

This PR fixes all of the issues and allows to build `qdrant` from
within nix shell on Intel macOS. I don't have access to ARM Mac at the moment,
so I can not say for sure if this configuration will work there.

* Add comment to iconv

* Touch up

---------

Co-authored-by: xzfc <xzfcpw@gmail.com>
2024-09-22 19:28:47 +00:00
xzfc
35dad67771 Add shell.nix (#4821) 2024-08-08 16:57:14 +00:00