git-sync: Wrap both binaries (#130515)
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
This commit is contained in:
parent
1443590c5b
commit
6ff64c2974
1 changed files with 6 additions and 3 deletions
|
@ -28,11 +28,14 @@ stdenv.mkDerivation rec {
|
|||
gnused
|
||||
];
|
||||
|
||||
fixupPhase = ''
|
||||
patchShebangs $out/bin
|
||||
postFixup = ''
|
||||
wrap_path="${wrapperPath}":$out/bin
|
||||
|
||||
wrapProgram $out/bin/git-sync \
|
||||
--prefix PATH : "${wrapperPath}"
|
||||
--prefix PATH : $wrap_path
|
||||
|
||||
wrapProgram $out/bin/git-sync-on-inotify \
|
||||
--prefix PATH : $wrap_path
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue