Commit Graph

13 Commits

Author SHA1 Message Date
taku0
eaef28d6c4 firefox/update.nix: Use fingerprint instead of keyid 2021-06-17 00:07:09 +09:00
taku0
1415289e67 firefox, firefox-bin: fetch GPG key from keyring 2021-06-16 19:33:28 +09:00
taku0
8432387de2 firefox: use SHA512SUM in update.nix 2021-06-16 19:33:28 +09:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Jan Tojnar
0105058698
common-updater-scripts: Add file and system flags
You can now optionally invoke update-source-versions with:

* --system flag changing the host platform, to be passed dirrectly to Nix commands.
  This is useful for binary packages which have different sources for each platform.
* --file flag allowing to change the file to be modified. This is useful for packages
  that offer multiple variants, listed in a different file than the derivation itself;
  e.g. packages.nix of Sublime Text 3.
* --version-key, which is now a keyword flag instead of a positional argument.
2019-03-02 23:03:04 +01:00
Jörg Thalheim
dadc7eb329
treewide: use runtimeShell instead of stdenv.shell whenever possible
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
2019-02-26 14:10:49 +00: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
taku0
4bb9af228e common-updater, firefox: fix updater for firefox 2018-11-16 23:04:54 +09:00
taku0
38bf731db4 firefox: 59.0.3 -> 60.0 2018-05-12 19:51:04 +09:00
taku0
186de9ca9e common-updater: support updating source URL 2018-03-16 23:17:07 +09:00
taku0
13df7202d7 firefox: Fix update.nix 2018-03-16 23:17:07 +09:00
Tuomas Tynkkynen
e5e1bdca53 firefox, thunderbird: Use common-updater/update-source-version script
Replace the custom patching code with the common script.

Also use callPackage and makeBinPath
2017-02-19 16:51:17 +02:00
taku0
93d917fa22 firefox, thunderbird: add updateScript 2016-12-29 11:19:50 +01:00