aboutsummaryrefslogtreecommitdiff
path: root/pkgs/top-level/release-lib.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-07-17 14:13:40 +0200
committerPeter Simons <simons@cryp.to>2015-07-17 14:13:40 +0200
commit32a81524fe99f541b1a8601c7e800d27e681b934 (patch)
tree598bbe9d278fba006411bed4e7ca23a82b47e905 /pkgs/top-level/release-lib.nix
parentc871eccb3a4fc900793aeffff0cc7b246047883f (diff)
release-lib: rename config option "inHydra" to "allowTexliveBuilds"
Also, take the value of that attribute as an argument to the module so that Hydra maintainers who don't mind building TexLive have a chance to do so.
Diffstat (limited to 'pkgs/top-level/release-lib.nix')
-rw-r--r--pkgs/top-level/release-lib.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/top-level/release-lib.nix b/pkgs/top-level/release-lib.nix
index 8c66964ba72a..ab26ba2fe747 100644
--- a/pkgs/top-level/release-lib.nix
+++ b/pkgs/top-level/release-lib.nix
@@ -1,4 +1,4 @@
-{ supportedSystems, packageSet ? (import ./all-packages.nix) }:
+{ supportedSystems, packageSet ? (import ./all-packages.nix), allowTexliveBuilds ? false }:
with import ../../lib;
@@ -7,7 +7,7 @@ rec {
# Ensure that we don't build packages marked as unfree.
allPackages = args: packageSet (args // {
config.allowUnfree = false;
- config.inHydra = true;
+ config.allowTexliveBuilds = allowTexliveBuilds;
});
pkgs = pkgsFor "x86_64-linux";