chore: rename nixsgxLib.mkSGXContainer to pkgs.lib.tee.sgxGramineContainer

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
Harald Hoyer 2024-09-02 14:06:02 +02:00
parent 15109610d8
commit d88f79d239
Signed by: harald
GPG key ID: F519A1143B3FBE32
4 changed files with 8 additions and 8 deletions

View file

@ -1,12 +1,12 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) 2024 Matter Labs
{ teepot
, nixsgxLib
, pkgs
, container-name ? "teepot-self-attestation-test-sgx-azure"
, tag ? null
, isAzure ? true
}:
nixsgxLib.mkSGXContainer {
pkgs.lib.tee.sgxGramineContainer {
name = container-name;
inherit tag;

View file

@ -1,12 +1,12 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) 2024 Matter Labs
{ teepot
, nixsgxLib
, pkgs
, container-name ? "teepot-vault-admin-sgx-azure"
, tag ? null
, isAzure ? null
}:
nixsgxLib.mkSGXContainer {
pkgs.lib.tee.sgxGramineContainer {
name = container-name;
inherit tag;

View file

@ -1,7 +1,7 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) 2024 Matter Labs
{ teepot
, nixsgxLib
, pkgs
, vat
, vault
, container-name ? "teepot-vault-sgx-azure"
@ -12,7 +12,7 @@ let
entrypoint = "${teepot.teepot.tee_ratls_preexec}/bin/tee-ratls-preexec";
appDir = "/opt/vault";
in
nixsgxLib.mkSGXContainer {
pkgs.lib.tee.sgxGramineContainer {
name = container-name;
inherit tag;
inherit appDir;

View file

@ -1,13 +1,13 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) 2024 Matter Labs
{ teepot
, nixsgxLib
, pkgs
, vat
, container-name ? "teepot-vault-unseal-sgx-azure"
, tag ? null
, isAzure ? true
}:
nixsgxLib.mkSGXContainer {
pkgs.lib.tee.sgxGramineContainer {
name = container-name;
inherit tag isAzure;