Commit graph

9 commits

Author SHA1 Message Date
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
Tim Cuthbertson
e905a3a417 nix-update-source: 0.5.0 -> 0.6.3 2018-06-18 22:09:52 +10:00
Tim Cuthbertson
0eab0596d0 nix-update-source: 0.4.0 -> 0.5.0 2018-04-22 15:15:34 +10:00
Tim Cuthbertson
892fd83ec8 nix-update-source: init at 0.4.0 2017-04-07 22:11:34 +10:00
Eelco Dolstra
5fdc6db957
Revert "add nix-prefetch-source (#21734)"
This reverts commit ca38ef79e9 due its
use of importJSON and external source info files, which is
non-idiomatic.
2017-01-30 11:44:15 +01:00
Eelco Dolstra
e7ec067b6b
Revert "nix-update-source: 0.2.1 -> 0.2.2"
This reverts commit b984d5d25f.
2017-01-30 11:44:15 +01:00
Tim Cuthbertson
b984d5d25f nix-update-source: 0.2.1 -> 0.2.2 2017-01-25 22:23:52 +11:00
Tim Cuthbertson
ca38ef79e9 add nix-prefetch-source (#21734) 2017-01-23 17:44:43 +00:00