diff options
author | Florian Friesdorf <flo@chaoflow.net> | 2013-07-27 12:06:45 +0200 |
---|---|---|
committer | Florian Friesdorf <flo@chaoflow.net> | 2013-07-27 12:08:36 +0200 |
commit | 595937318ff72dda48ea58ec68a8d426542ba9fc (patch) | |
tree | 399b44cbc6d7a6450271f20179b1d2fd347616fc /pkgs/top-level/release-python.nix | |
parent | 30e9f13d81885289d4f492b9dc92c53d4b023956 (diff) | |
download | nixpkgs-595937318ff72dda48ea58ec68a8d426542ba9fc.tar nixpkgs-595937318ff72dda48ea58ec68a8d426542ba9fc.tar.gz nixpkgs-595937318ff72dda48ea58ec68a8d426542ba9fc.tar.bz2 nixpkgs-595937318ff72dda48ea58ec68a8d426542ba9fc.tar.lz nixpkgs-595937318ff72dda48ea58ec68a8d426542ba9fc.tar.xz nixpkgs-595937318ff72dda48ea58ec68a8d426542ba9fc.tar.zst nixpkgs-595937318ff72dda48ea58ec68a8d426542ba9fc.zip |
update release-python.nix from python branch
Diffstat (limited to 'pkgs/top-level/release-python.nix')
-rw-r--r-- | pkgs/top-level/release-python.nix | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/pkgs/top-level/release-python.nix b/pkgs/top-level/release-python.nix index 2ed725e68ce..e09c3a76ddc 100644 --- a/pkgs/top-level/release-python.nix +++ b/pkgs/top-level/release-python.nix @@ -1,13 +1,15 @@ /* - This file will be evaluated by hydra with a call like this: - hydra_eval_jobs --gc-roots-dir \ - /nix/var/nix/gcroots/per-user/hydra/hydra-roots --argstr \ - system i686-linux --argstr system x86_64-linux --arg \ - nixpkgs "{outPath = ./}" .... release.nix - - Hydra can be installed with "nix-env -i hydra". + test for example like this + $ nix-build pkgs/top-level/release-python.nix */ -with (import ./release-lib.nix); + +{ nixpkgs ? { outPath = (import ./all-packages.nix {}).lib.cleanSource ../..; revCount = 1234; shortRev = "abcdef"; } +, officialRelease ? false +, # The platforms for which we build Nixpkgs. + supportedSystems ? [ "x86_64-linux" "i686-linux" "x86_64-darwin" "x86_64-freebsd" "i686-freebsd" ] +}: + +with import ./release-lib.nix {inherit supportedSystems; }; let jobsForDerivations = attrset: pkgs.lib.attrsets.listToAttrs @@ -19,12 +21,13 @@ let (n: v: (v.type or null) == "derivation") attrset))); -in -{ - tarball = import ./make-tarball.nix; + jobs = + { -} // (mapTestOn rec { + # } // (mapTestOn ((packagesWithMetaPlatform pkgs) // rec { + + } // (mapTestOn rec { a2jmidid = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; aacskeys = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; @@ -1992,4 +1995,6 @@ in zsnes = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; zynaddsubfx = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; zziplib = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; -}) +}); + +in jobs |