Skip to content

Commit

Permalink
fix: use new nixsgxLib.mkSGXContainer
Browse files Browse the repository at this point in the history
Signed-off-by: Harald Hoyer <[email protected]>
  • Loading branch information
haraldh committed Jul 2, 2024
1 parent 052898c commit 4784c01
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions container-era-fee-withdrawer.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{ pkgs
, nixsgx-flake
, nixsgxLib
, efw
, tag ? "latest"
, isAzure ? true
}:
let
name = if isAzure then "era-fee-withdrawer-azure" else "era-fee-withdrawer-dcap";
in
pkgs.callPackage nixsgx-flake.lib.mkSGXContainer {
nixsgxLib.mkSGXContainer {
inherit name;
inherit tag;

Expand Down
18 changes: 9 additions & 9 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
};
};

container-era-fee-withdrawer-azure = pkgs.callPackage ./container-era-fee-withdrawer.nix { inherit nixsgx-flake; isAzure = true; };
container-era-fee-withdrawer-dcap = pkgs.callPackage ./container-era-fee-withdrawer.nix { inherit nixsgx-flake; isAzure = false; };
container-era-fee-withdrawer-azure = pkgs.callPackage ./container-era-fee-withdrawer.nix { isAzure = true; };
container-era-fee-withdrawer-dcap = pkgs.callPackage ./container-era-fee-withdrawer.nix { isAzure = false; };
in
{
formatter = pkgs.nixpkgs-fmt;
Expand Down

0 comments on commit 4784c01

Please sign in to comment.