mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
buildah: avoid empty segment in PATH
(cherry picked from commit 2a4da970ff)
This commit is contained in:
committed by
github-actions[bot]
parent
0f2f05f9e3
commit
f8d394a39e
@@ -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}\""
|
||||
}
|
||||
''
|
||||
|
||||
Reference in New Issue
Block a user