mirror of
https://github.com/matter-labs/nixsgx.git
synced 2025-07-22 07:44:47 +02:00
40 lines
535 B
Nix
40 lines
535 B
Nix
{ 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
|
|
];
|
|
}
|