skopeo: fix wrapper

This commit is contained in:
zowoq 2020-09-26 12:35:25 +10:00
parent f557e2f2a1
commit b7b89a6272

View File

@ -42,9 +42,7 @@ buildGoModule rec {
install -Dm755 bin/skopeo -t $out/bin install -Dm755 bin/skopeo -t $out/bin
installManPage docs/*.[1-9] installManPage docs/*.[1-9]
installShellCompletion --bash completions/bash/skopeo installShellCompletion --bash completions/bash/skopeo
''; '' + stdenv.lib.optionalString stdenv.isLinux ''
postInstall = stdenv.lib.optionals stdenv.isLinux ''
wrapProgram $out/bin/skopeo \ wrapProgram $out/bin/skopeo \
--prefix PATH : ${stdenv.lib.makeBinPath [ fuse-overlayfs ]} --prefix PATH : ${stdenv.lib.makeBinPath [ fuse-overlayfs ]}
''; '';