boinc: copy systemd service file to output
commitca87168c6e856d771695ecc7c991b3d0132a18f2
authorLuflosi <luflosi@luflosi.de>
dateTue 30 Nov 2021, 21:49 (5 years ago)
parent4e0d900
pkgs/applications/science/misc/boinc/default.nix+4
@@ -37,6 +37,10 @@ stdenv.mkDerivation rec {
3737
3838 configureFlags = [ "--disable-server" ];
3939
40+ postInstall = ''
41+ install --mode=444 -D 'client/scripts/boinc-client.service' "$out/etc/systemd/system/boinc.service"
42+ '';
43+
4044 meta = with lib; {
4145 description = "Free software for distributed and grid computing";
4246 homepage = "https://boinc.berkeley.edu/";