buildah(-wrapped): fix build (on aarch64-darwin) (#461705)
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
libapparmor,
|
libapparmor,
|
||||||
libselinux,
|
libselinux,
|
||||||
libseccomp,
|
libseccomp,
|
||||||
|
writableTmpDirAsHomeHook,
|
||||||
versionCheckHook,
|
versionCheckHook,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@@ -69,8 +70,12 @@ buildGoModule (finalAttrs: {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
nativeInstallCheckInputs = [
|
||||||
|
writableTmpDirAsHomeHook
|
||||||
|
versionCheckHook
|
||||||
|
];
|
||||||
versionCheckProgramArg = "--version";
|
versionCheckProgramArg = "--version";
|
||||||
|
versionCheckKeepEnvironment = [ "HOME" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Tool which facilitates building OCI images";
|
description = "Tool which facilitates building OCI images";
|
||||||
|
|||||||
@@ -74,5 +74,5 @@ runCommand buildah-unwrapped.name
|
|||||||
ln -s ${buildah-unwrapped}/share $out/share
|
ln -s ${buildah-unwrapped}/share $out/share
|
||||||
makeWrapper ${buildah-unwrapped}/bin/buildah $out/bin/buildah \
|
makeWrapper ${buildah-unwrapped}/bin/buildah $out/bin/buildah \
|
||||||
--set CONTAINERS_HELPER_BINARY_DIR ${helpersBin}/bin \
|
--set CONTAINERS_HELPER_BINARY_DIR ${helpersBin}/bin \
|
||||||
--prefix PATH : ${binPath}
|
--prefix PATH : "${binPath}"
|
||||||
''
|
''
|
||||||
|
|||||||
Reference in New Issue
Block a user