git-sync: Wrap both binaries (#130515)

Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
This commit is contained in:
Ivan Malison 2021-07-23 03:38:36 -06:00 committed by GitHub
parent 1443590c5b
commit 6ff64c2974
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = {