buildah(-wrapped): fix build (on aarch64-darwin) (#461705)
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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}"
|
||||
''
|
||||
|
||||
Reference in New Issue
Block a user