Commit graph

19 commits

Author SHA1 Message Date
Harald Hoyer
0b8f1d54c7
feat: bump rust version to 1.86
fixes the hardcoded `/usr/bin/strip` issue on macos

see https://github.com/rust-lang/rust/issues/131206

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2025-04-10 11:57:47 +02:00
Harald Hoyer
c5373dfd8f
chore(flake): update nixsgx flake input
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-12-20 14:29:04 +01:00
Harald Hoyer
f818ac61c2
chore(flake.nix): update crane to ref 8ff9c45
- Upgraded crane from v0.17.3 to v0.19.3 using a specific commit ref.
- Ensures compatibility with the latest improvements and fixes in crane.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-12-20 09:30:59 +01:00
Harald Hoyer
83d57bf354
chore: update Rust toolchain to version 1.83
- Upgraded the Rust version in rust-toolchain.toml to 1.83.
- Ensures compatibility and access to the latest features and fixes.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-12-20 09:29:43 +01:00
Harald Hoyer
d8239dba2f
chore: update dependencies and enhance shell configuration
- Updated multiple dependencies in flake.lock to their latest revisions.
- Improved the shell configuration in the teepot with enhanced environment variable settings for SGX support.
- Reinstated OPENSSL_NO_VENDOR and added library paths to ensure compatibility and proper linking.
2024-11-28 15:45:39 +01:00
Harald Hoyer
15109610d8
chore: update flake.lock
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-09-03 13:24:19 +02:00
Harald Hoyer
33fe7f17fa
fix(vault): maybe fix netpollBreak issues
- Updated the flake.lock for nixsgx dependency with new revision to get a patched gramine
  https://github.com/matter-labs/nixsgx/pull/54

- Enabled `sys.insecure__allow_eventfd` to support recent golang changes in the `netpoll` implementation
2024-08-08 14:51:04 +02:00
Harald Hoyer
e82d0de55b
chore: update nixsgx-flake
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-07-02 12:46:49 +02:00
Harald Hoyer
943ef8c878
feat: use nixsgxLib.mkSGXContainer
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-07-01 17:25:00 +02:00
Harald Hoyer
8fa8f0438b
feat: remove mio workaround with gramine 1.7
gramine 1.7 now supports eventfd.
Update nixsgx flake and remove the `RUSTFLAGS`.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-06-18 10:38:23 +02:00
Harald Hoyer
d0c5950c0e
feat: use nixsgx nix function to create containers
It refactors the way the SGX containers are built.
This removes all `Dockerfile` and gramine manifest files.
It also enables a single recipe for azure and non-azure variants.

Additionally the `teepot-crate.nix` is now the inherited recipe to
build the rust `teepot` crate.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-06-10 16:32:02 +02:00
Harald Hoyer
a9bb266668
chore(deps): update to rust version 1.78
and fix the clippy warnings

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-06-10 13:09:05 +02:00
Harald Hoyer
78329e9fa7
chore(deps): flake update
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-05-21 12:23:43 +02:00
Harald Hoyer
88206f0f84
fix(flake): follow the inputs of nixsgx
preventing any cache mismatches

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-03-27 16:47:23 +01:00
Harald Hoyer
0654bacdb5
ci: use crane flake to build with nix
This enables to add cargo `fmt`, `clippy` and `deny` to nix, using cached results.

Move the `teepot` crate to the `crates` subdir to make the life easier for
the `crane` flake.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-03-11 10:01:59 +01:00
Harald Hoyer
91f1612e0f
chore: cleanup and nixify
* create containers with nix
* updated README.md
* added SPDX license headers

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-02-28 11:09:34 +01:00
Harald Hoyer
30539e068f
feat: use snowfall flake for nix
to make packages reusable by other flakes

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-02-14 11:39:39 +01:00
Harald Hoyer
5440044be9
chore: change the source repo of nixsgx
to github:matter-labs/nixsgx

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-02-09 13:53:05 +01:00
Harald Hoyer
89ffbd35a8
feat: initial commit
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-02-09 10:10:53 +01:00