Page MenuHomePhabricator

[nix] Add dependencies needed to compile native modules
ClosedPublic

Authored by jon on Jun 19 2022, 11:20 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 11, 12:18 PM
Unknown Object (File)
Mon, Dec 2, 8:26 AM
Unknown Object (File)
Sat, Nov 30, 2:15 AM
Unknown Object (File)
Mon, Nov 25, 5:10 AM
Unknown Object (File)
Mon, Nov 25, 5:05 AM
Unknown Object (File)
Sun, Nov 24, 5:12 PM
Unknown Object (File)
Nov 22 2024, 1:51 AM
Unknown Object (File)
Nov 22 2024, 1:30 AM

Details

Summary

Dependencies needed for building cpp services through nix

Depends on D4293

Test Plan

nix develop

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

jon retitled this revision from Add dependencies needed to compile native modules to [nix] Add dependencies needed to compile native modules.Jun 19 2022, 11:31 AM

Make openssl available to all platforms for grpc compatibility

nix/overlay.nix
32

I guess we're doing this so this line works with the new CMake config changes?

jon added inline comments.
nix/overlay.nix
32

The Session.hh is used in our code, although it's not meant to be publicly exposed by upstream. I added it so I didn't have to also touch c++.

The Session.hh just exposes a bit of abstraction on top of the olm primitives, the intent upstream is for the headers to only be used for their unit tests (which is why it's not exposed publicly)

https://gitlab.matrix.org/matrix-org/olm/-/blob/master/include/olm/session.hh#L20

This revision is now accepted and ready to land.Jun 26 2022, 9:30 PM
This revision now requires review to proceed.Jun 26 2022, 9:30 PM

Please adjust line length before landing!

nix/overlay.nix
29–32

Makes sense!! Can you make sure to limit all lines to 80 chars?

This revision is now accepted and ready to land.Jun 28 2022, 11:59 AM
This revision was automatically updated to reflect the committed changes.
jon marked an inline comment as done.
jon added inline comments.
nix/overlay.nix
29–32

Sorry, was pairing with varun, and landed to unblock some work we were doing, will tackle this in another diff

nix/overlay.nix
29–32

No problem, can you make a Linear task so we don't forget? (Or alternately, feel free to put a diff up right away)

jon added inline comments.
nix/overlay.nix
29–32