mirror of
https://github.com/matter-labs/nixsgx.git
synced 2025-07-21 15:33:56 +02:00
feat: initial commit
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
parent
6fe41c9723
commit
1054e3dbe4
51 changed files with 3521 additions and 1 deletions
40
packages/all/default.nix
Normal file
40
packages/all/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, buildEnv
|
||||
, stdenv
|
||||
, symlinkJoin
|
||||
, nixsgx
|
||||
}:
|
||||
let
|
||||
container = stdenv.mkDerivation {
|
||||
name = "container";
|
||||
|
||||
src = with nixsgx; [
|
||||
docker-gramine-azure
|
||||
docker-gramine-dcap
|
||||
];
|
||||
|
||||
unpackPhase = "true";
|
||||
|
||||
installPhase = ''
|
||||
set -x
|
||||
mkdir -p $out
|
||||
cp -vr $src $out
|
||||
'';
|
||||
};
|
||||
in
|
||||
symlinkJoin {
|
||||
name = "all";
|
||||
paths = with nixsgx;[
|
||||
azure-dcap-client
|
||||
container
|
||||
gramine
|
||||
libuv
|
||||
nodejs
|
||||
protobufc
|
||||
restart-aesmd
|
||||
sgx-dcap
|
||||
sgx-psw
|
||||
sgx-sdk
|
||||
sgx-ssl
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue