Skip to content

Commit

Permalink
chore: rename nixsgxLib.mkSGXContainer to `pkgs.lib.tee.sgxGramineC…
Browse files Browse the repository at this point in the history
…ontainer`

Signed-off-by: Harald Hoyer <[email protected]>
  • Loading branch information
haraldh committed Sep 3, 2024
1 parent 1510961 commit d88f79d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
4 changes: 2 additions & 2 deletions packages/container-vault-admin-sgx-azure/default.nix
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
4 changes: 2 additions & 2 deletions packages/container-vault-sgx-azure/default.nix
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions packages/container-vault-unseal-sgx-azure/default.nix
Original file line number Diff line number Diff line change
@@ -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;

Expand Down

0 comments on commit d88f79d

Please sign in to comment.