mirror of
https://github.com/matter-labs/nixsgx.git
synced 2025-07-21 23:43:56 +02:00
refactor: replace mkSGXContainer with sgxGramineContainer
- Deprecate `mkSGXContainer` in favor of `sgxGramineContainer`. - Update references to use the new container creation function. - Streamline the codebase by simplifying `overlays/libTee/default.nix`. Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
parent
b080c32f2a
commit
1e8c8ed1c7
5 changed files with 269 additions and 269 deletions
13
overlays/libTee/default.nix
Normal file
13
overlays/libTee/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Copyright (c) 2024 Matter Labs
|
||||
{ ... }:
|
||||
final: prev:
|
||||
{
|
||||
nixsgxLib.mkSGXContainer = final.lib.warn "`nixsgxLib.mkSGXContainer` is deprecated, use `pkgs.lib.tee.sgxGramineContainer`" final.lib.tee.sgxGramineContainer;
|
||||
|
||||
lib = prev.lib.extend (libFinal: libPrev: {
|
||||
tee = libPrev.tee or { } // {
|
||||
sgxGramineContainer = args: final.callPackage ./sgxGramineContainer.nix args;
|
||||
};
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue