Commit graph

7 commits

Author SHA1 Message Date
Jan Tojnar 4239bf17ec
gnome3.updateScript: optimize unfrozen updates
When the updates are not frozen, there is no need to try to extract versions from attributes.
2020-04-25 15:32:20 +02:00
Jan Tojnar f544c293ec
gnome3.updateScript: fix tarball eval on nonexisting attrpaths
As reported in 974f11cb29 (commitcomment-38735081),
the tarball will fail to evaluate when updateScript is given a non-existing attrPath because getAttrFromPath
uses abort, which terminates the evaluation.
2020-04-25 15:26:09 +02:00
Jan Tojnar 974f11cb29
gnome3.updateScript: Add freeze functionality
On stable releases, we will want to change the freeze parameter in pkgs/desktops/gnome-3/update.nix
to true to limit the gnome update script to only bump patch versions.
2020-04-25 01:19:33 +02:00
Jan Tojnar 9f6a9ce368
gnome3.updateScript: clean up PATH
grep was not actually properly included by common-updater-scripts before
0105058698 but I am not sure why would we ever
need to add coreutils to PATH.
2019-06-02 09:44:13 +02:00
Jan Tojnar 30f090ff7b
gnome3.updateScript: reuse gnome-update-script 2018-12-02 00:50:37 +01:00
Jan Tojnar 59a94b57f0
update.nix: Run update scripts in parallel
To make updating large attribute sets faster, the update scripts
are now run in parallel.

Please note the following changes in semantics:

- The string passed to updateScript needs to be a path to an executable file.
- The updateScript can also be a list: the tail elements will then be passed
  to the head as command line arguments.
2018-12-01 19:17:13 +01:00
Jan Tojnar cc1d6fcbcb
gnome3: add updateScript 2018-03-01 02:53:00 +01:00