copy-tarballs.pl: Revive extracting all tarballs from release.nix
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
{ supportedSystems, packageSet ? (import ./all-packages.nix), allowTexliveBuilds ? false }:
|
||||
{ supportedSystems
|
||||
, packageSet ? (import ./all-packages.nix)
|
||||
, allowTexliveBuilds ? false
|
||||
, scrubJobs ? true
|
||||
}:
|
||||
|
||||
with import ../../lib;
|
||||
|
||||
@@ -14,6 +18,9 @@ rec {
|
||||
pkgs = pkgsFor "x86_64-linux";
|
||||
|
||||
|
||||
hydraJob' = if scrubJobs then hydraJob else id;
|
||||
|
||||
|
||||
/* !!! Hack: poor man's memoisation function. Necessary to prevent
|
||||
Nixpkgs from being evaluated again and again for every
|
||||
job/platform pair. */
|
||||
@@ -48,7 +55,7 @@ rec {
|
||||
a derivation for each supported platform, i.e. ‘{ x86_64-linux =
|
||||
f pkgs_x86_64_linux; i686-linux = f pkgs_i686_linux; ... }’. */
|
||||
testOn = systems: f: genAttrs
|
||||
(filter (x: elem x supportedSystems) systems) (system: hydraJob (f (pkgsFor system)));
|
||||
(filter (x: elem x supportedSystems) systems) (system: hydraJob' (f (pkgsFor system)));
|
||||
|
||||
|
||||
/* Similar to the testOn function, but with an additional
|
||||
|
||||
Reference in New Issue
Block a user