skopeo: fix wrapper
This commit is contained in:
parent
f557e2f2a1
commit
b7b89a6272
@ -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 ]}
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user