Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions release.nix
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,28 @@ let
dockerImage = wrapDockerImage cluster;
};
};
in mapped // {
in pkgs.lib.fix (jobsets: mapped // {
inherit tests;
inherit (pkgs) cabal2nix;
nixpkgs = let
wrapped = pkgs.runCommand "nixpkgs" {} ''
ln -sv ${fixedNixpkgs} $out
'';
in if 0 <= builtins.compareVersions builtins.nixVersion "1.12" then wrapped else fixedNixpkgs;
} // (builtins.listToAttrs (map makeRelease [ "mainnet" "staging" ]))
required = pkgs.lib.hydraJob (pkgs.releaseTools.aggregate {
name = "cardano-required-checks";
constituents =
let
all = x: map (system: x.${system}) supportedSystems;
in
[
(all jobsets.all-cardano-sl)
(all jobsets.daedalus-bridge)
jobsets.mainnet.connectScripts.wallet.x86_64-linux
jobsets.tests.hlint
jobsets.tests.shellcheck
jobsets.tests.stylishHaskell
jobsets.tests.swaggerSchemaValidation
];
});
} // (builtins.listToAttrs (map makeRelease [ "mainnet" "staging" ])))