From a9b7237c55eb4c163fa738dd39add803e38c19e9 Mon Sep 17 00:00:00 2001 From: Rakshit Gondwal Date: Tue, 3 Sep 2024 19:20:11 +0530 Subject: [PATCH] fix: app oci build Signed-off-by: Rakshit Gondwal --- pkg/nix/template/oci.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/nix/template/oci.go b/pkg/nix/template/oci.go index 32291c28..f1e110b2 100644 --- a/pkg/nix/template/oci.go +++ b/pkg/nix/template/oci.go @@ -78,7 +78,7 @@ ociImage_{{$artifact.Artifact}} = forEachSupportedSystem ({ pkgs, nix2containerP {{end}} {{ if ne ($artifact.Base) true }} - ociImage_{{$artifact.Artifact}}_app-as-dir = pkgs.runCommand "image-as-dir" { } "${inputs.self.ociImage_{{$artifact.Artifact}}gs.${system}.ociImage_{{$artifact.Artifact}}_app.copyTo}/bin/copy-to dir:$out"; + ociImage_{{$artifact.Artifact}}_app-as-dir = pkgs.runCommand "image-as-dir" { } "${inputs.self.ociImage_{{$artifact.Artifact}}.${system}.ociImage_{{$artifact.Artifact}}_app.copyTo}/bin/copy-to dir:$out"; {{end}} {{ if ($artifact.Base)}} ociImage_{{$artifact.Artifact}}_base-as-dir = pkgs.runCommand "image-as-dir" { } "${inputs.self.ociImage_{{$artifact.Artifact}}.${system}.ociImage_{{$artifact.Artifact}}_base.copyTo}/bin/copy-to dir:$out";