1/* Build instructions for the continuous integration system Hydra. */
3{ cabal2nixSrc ? { outPath = ./.; revCount = 0; gitTag = "dirty"; }
5, supportedSystems ? ["x86_64-linux"] ++ (if releaseBuild then ["i686-linux" "x86_64-darwin"] else [])
8with import <nixpkgs/pkgs/top-level/release-lib.nix> { inherit supportedSystems; };
12 overrides = self: super: {
14 mkDerivationFor = subdir: args: self.mkDerivation (args // {
15 src = cabal2nixSrc; version = cabal2nixSrc.gitTag;
16 postUnpack = "sourceRoot+=/${subdir}";
19 mkJob = path: subdir: pkgs.haskell.lib.buildStrictly (self.callPackage path { mkDerivation = self.mkDerivationFor subdir; });
21 lens-construction-helper = self.mkJob ./release-lens-construction-helper.nix "lens-construction-helper";
23 language-nix = self.mkJob ./release-language-nix.nix "language-nix";
25 distribution-nixpkgs = self.mkJob ./release-distribution-nixpkgs.nix "distribution-nixpkgs";
27 cabal2nix = self.mkJob ./release-cabal2nix.nix "cabal2nix";
29 hackage2nix = self.mkJob ./release-hackage2nix.nix "hackage2nix";
33 mkJob = attr: testOn supportedSystems (pkgs: ((pkgs.haskellPackages.override { inherit overrides; })).${attr});
38 lens-construction-helper = mkJob "lens-construction-helper";
40 language-nix = mkJob "language-nix";
42 distribution-nixpkgs = mkJob "distribution-nixpkgs";
44 cabal2nix = mkJob "cabal2nix";
46 hackage2nix = mkJob "hackage2nix";
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list