Skip to content

Commit

Permalink
workbench: fix for nomad backend
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaste committed Nov 29, 2022
1 parent 299c639 commit d115df8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions nix/workbench/backend/nomad-conf.nix
Expand Up @@ -2,15 +2,14 @@
# Cardano packages/executables.
, cardano-node, cardano-tracer, tx-generator
# OCI Image builder.
, nix2container
}:

let

# Why `nix2container` instead of the built-in `dockerTools` ?:
# - https://lewo.abesis.fr/posts/nix-build-container-image/
# - https://discourse.nixos.org/t/nix2container-another-dockertools-buildimage-implementation-based-on-skopeo/21688
n2c = nix2container.outputs.packages.x86_64-linux.nix2container;
n2c = pkgs.nix2container.outputs.packages.x86_64-linux.nix2container;

clusterImage = n2c.buildImage {
name = "registry.workbench.iog.io/cluster";
Expand Down
3 changes: 1 addition & 2 deletions nix/workbench/backend/nomad.nix
Expand Up @@ -4,7 +4,7 @@ let
stateDir = "run/current";
in
{ pkgs
, lib, nix2container
, lib
, workbench
##
, cacheDir ? cacheDirDefault
Expand Down Expand Up @@ -50,7 +50,6 @@ let
inherit
(pkgs.cardanoNodePackages)
cardano-node cardano-tracer tx-generator;
inherit nix2container;
};
in pkgs.runCommand "workbench-backend-output-${profileNix.name}-${name}"
(rec {
Expand Down

0 comments on commit d115df8

Please sign in to comment.