buildah(-wrapped): fix build (on aarch64-darwin) (#461705)

This commit is contained in:
Pol Dellaiera
2025-11-15 21:28:46 +00:00
committed by GitHub
2 changed files with 7 additions and 2 deletions

View File

@@ -12,6 +12,7 @@
libapparmor,
libselinux,
libseccomp,
writableTmpDirAsHomeHook,
versionCheckHook,
}:
@@ -69,8 +70,12 @@ buildGoModule (finalAttrs: {
'';
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
nativeInstallCheckInputs = [
writableTmpDirAsHomeHook
versionCheckHook
];
versionCheckProgramArg = "--version";
versionCheckKeepEnvironment = [ "HOME" ];
meta = {
description = "Tool which facilitates building OCI images";

View File

@@ -74,5 +74,5 @@ runCommand buildah-unwrapped.name
ln -s ${buildah-unwrapped}/share $out/share
makeWrapper ${buildah-unwrapped}/bin/buildah $out/bin/buildah \
--set CONTAINERS_HELPER_BINARY_DIR ${helpersBin}/bin \
--prefix PATH : ${binPath}
--prefix PATH : "${binPath}"
''