buildah: avoid empty segment in PATH (#545600)

This commit is contained in:
Thomas Gerbet
2026-07-28 13:32:33 +00:00
committed by GitHub
+3 -2
View File
@@ -73,6 +73,7 @@ runCommand buildah-unwrapped.name
mkdir -p $out
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}"
--set CONTAINERS_HELPER_BINARY_DIR ${helpersBin}/bin ${
lib.optionalString (binPath != "") "--prefix PATH : \"${binPath}\""
}
''