mirror of
https://github.com/matter-labs/nixsgx.git
synced 2025-07-21 07:33:55 +02:00

- 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>
13 lines
437 B
Nix
13 lines
437 B
Nix
# 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;
|
|
};
|
|
});
|
|
}
|