Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

syncthing: move systemd files to bin output

+4 -4
+4 -4
pkgs/applications/networking/syncthing/default.nix
··· 63 63 done 64 64 65 65 '' + lib.optionalString (stdenv.isLinux) '' 66 - mkdir -p $out/lib/systemd/{system,user} 66 + mkdir -p $bin/lib/systemd/{system,user} 67 67 68 68 substitute etc/linux-systemd/system/syncthing-resume.service \ 69 - $out/lib/systemd/system/syncthing-resume.service \ 69 + $bin/lib/systemd/system/syncthing-resume.service \ 70 70 --replace /usr/bin/pkill ${procps}/bin/pkill 71 71 72 72 substitute etc/linux-systemd/system/syncthing@.service \ 73 - $out/lib/systemd/system/syncthing@.service \ 73 + $bin/lib/systemd/system/syncthing@.service \ 74 74 --replace /usr/bin/syncthing $bin/bin/syncthing 75 75 76 76 substitute etc/linux-systemd/user/syncthing.service \ 77 - $out/lib/systemd/user/syncthing.service \ 77 + $bin/lib/systemd/user/syncthing.service \ 78 78 --replace /usr/bin/syncthing $bin/bin/syncthing 79 79 ''; 80 80 };