Commit graph

12 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
4200e68e04 nix-pin: 0.3.4 -> 0.4.0 2018-09-18 20:48:21 +10:00
Tim Cuthbertson
9fb27679de nix-pin: 0.3.1 -> 0.3.4 2018-06-18 22:09:14 +10:00
Tim Cuthbertson
04703916cf nix-pin: 0.3.0 -> 0.3.1 2018-05-09 21:15:33 +10:00
Tim Cuthbertson
3cce9b107a nix-pin: 0.2.2 -> 0.3.0 2018-05-05 19:53:40 +10:00
Tim Cuthbertson
1faea2934b nix-pin: 0.1.2 -> 0.2.2 and add updateScript 2018-04-23 15:38:16 +10:00
Jörg Thalheim
94d92fd046 Revert "nix-pin: 0.1.2 -> 0.2.2"
This reverts commit 92f083af23.

breaks evaluation
2018-04-22 16:43:27 +01:00
Jörg Thalheim
b96cc8fb86 Revert "nix-pin: add passthru.updateScript"
This reverts commit 146dabd4ac.

breaks evaluation
2018-04-22 16:43:18 +01:00
Tim Cuthbertson
146dabd4ac nix-pin: add passthru.updateScript 2018-04-22 15:17:39 +10:00
Tim Cuthbertson
92f083af23 nix-pin: 0.1.2 -> 0.2.2 2018-04-22 14:12:32 +10:00
Tim Cuthbertson
a1cf616537 nix-pin: init at 0.1.2 2018-04-09 09:04:37 +10:00