git-sync: only include inotify-tools on linux
This commit is contained in:
parent
ab0f52080f
commit
4cb85d5489
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue