Skip to content

Commit dae218c

Browse files
committed
packages/oci*: build locally
These are referencing many storepaths and shouldn't profit to much from remote building, so prefer local build.
1 parent dae82e7 commit dae218c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

packages/by-name/ociImageConfig/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# application/vnd.oci.image.config.v1+json
55
{
66
lib,
7-
runCommand,
7+
runCommandLocal,
88
writers,
99
nix,
1010
}:
@@ -31,7 +31,7 @@ let
3131
configJSON = writers.writeJSON "image-config.json" config;
3232
in
3333

34-
runCommand "oci-image-config"
34+
runCommandLocal "oci-image-config"
3535
{
3636
buildInputs = [ nix ];
3737
platformJSON = builtins.toJSON {

packages/by-name/ociImageLayout/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# OCI image layout. Can be pushed to a registry or used as a local image.
55
{
66
lib,
7-
runCommand,
7+
runCommandLocal,
88
writers,
99
nix,
1010
}:
@@ -33,7 +33,7 @@ let
3333
);
3434
in
3535

36-
runCommand "oci-image-layout"
36+
runCommandLocal "oci-image-layout"
3737
{
3838
buildInputs = [ nix ];
3939
blobDirs = lib.lists.map (manifest: manifest + "/blobs/sha256") manifests;

packages/by-name/ociImageManifest/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{
66
lib,
77
ociImageConfig,
8-
runCommand,
8+
runCommandLocal,
99
writers,
1010
nix,
1111
}:
@@ -38,7 +38,7 @@ let
3838
);
3939
in
4040

41-
runCommand "oci-image-manifest"
41+
runCommandLocal "oci-image-manifest"
4242
{
4343
blobDirs = lib.lists.map (layer: layer + "/blobs/sha256") (layers ++ [ config ]);
4444
platformJSON = builtins.toJSON configPlatform;

0 commit comments

Comments
 (0)