git-sync: only include inotify-tools on linux

This commit is contained in:
Aaron Bieber
2022-09-02 07:09:03 -06:00
parent ab0f52080f
commit 4cb85d5489
@@ -21,13 +21,12 @@ stdenv.mkDerivation rec {
cp -a contrib/git-* $out/bin/
'';
wrapperPath = with lib; makeBinPath [
inotify-tools
wrapperPath = with lib; makeBinPath ([
coreutils
git
gnugrep
gnused
];
] ++ lib.optionals stdenv.isLinux [ inotify-tools ]);
postFixup = ''
wrap_path="${wrapperPath}":$out/bin