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
installManPage docs/*.[1-9]
installShellCompletion --bash completions/bash/skopeo
'';
postInstall = stdenv.lib.optionals stdenv.isLinux ''
'' + stdenv.lib.optionalString stdenv.isLinux ''
wrapProgram $out/bin/skopeo \
--prefix PATH : ${stdenv.lib.makeBinPath [ fuse-overlayfs ]}
'';