File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -62,12 +62,15 @@ stdenv.mkDerivation (finalAttrs: {
6262 # we could also pass --enable-completions to configure but we would then have to
6363 # figure out the paths manually and pass those along.
6464 postInstall = ''
65- installShellCompletion --bash --name onedrive contrib/completions/complete.bash
66- installShellCompletion --fish --name onedrive contrib/completions/complete.fish
67- installShellCompletion --zsh --name _onedrive contrib/completions/complete.zsh
65+ installShellCompletion --cmd onedrive \
66+ --bash contrib/completions/complete.bash \
67+ --fish contrib/completions/complete.fish \
68+ --zsh contrib/completions/complete.zsh
6869
69- substituteInPlace $out/lib/systemd/user/onedrive.service --replace-fail "/usr/bin/sleep" "${ coreutils } /bin/sleep"
70- substituteInPlace $out/lib/systemd/system/[email protected] --replace-fail "/usr/bin/sleep" "${ coreutils } /bin/sleep" 70+ for s in $out/lib/systemd/user/onedrive.service $out/lib/systemd/system/[email protected] ; do 71+ substituteInPlace $s \
72+ --replace-fail "/usr/bin/sleep" "${ coreutils } /bin/sleep"
73+ done
7174 '' ;
7275
7376 passthru = {
You can’t perform that action at this time.
0 commit comments