Flatpak : Do not install in parallel.
This commit is contained in:
parent
161ad13067
commit
a585d947b5
|
@ -13,7 +13,7 @@ in {
|
|||
serviceConfig.Type = "oneshot";
|
||||
script = ''
|
||||
${pkgs.flatpak}/bin/flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
cat ${list} | cut -f2 | ${pkgs.parallel}/bin/parallel -- ${pkgs.flatpak}/bin/flatpak install -y --system {}
|
||||
cat ${list} | cut -f2 | ${pkgs.parallel}/bin/parallel -j1 -- ${pkgs.flatpak}/bin/flatpak install -y --system {}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Reference in a new issue