mirror of
https://github.com/matter-labs/nixsgx.git
synced 2025-07-21 23:43:56 +02:00
feat: use overlay to specify mkSGXContainer
will simplify `pkgs.callPackage lib.nixsgx.mkSGXContainer` to `nixsgxLib.mkSGXContainer`. Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
parent
347a89b6da
commit
2d39aee8b4
4 changed files with 250 additions and 246 deletions
|
@ -1,15 +1,13 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Copyright (c) 2024 Matter Labs
|
||||
{ lib
|
||||
, pkgs
|
||||
, inputs
|
||||
, nixsgx
|
||||
, nixsgxLib
|
||||
, hello
|
||||
, isAzure ? false
|
||||
, container-name ? "nixsgx-test-sgx-dcap"
|
||||
, tag ? "latest"
|
||||
}:
|
||||
pkgs.callPackage lib.nixsgx.mkSGXContainer {
|
||||
nixsgxLib.mkSGXContainer {
|
||||
name = container-name;
|
||||
inherit tag isAzure;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue