Commit a089e057 authored by Astro's avatar Astro
Browse files

hydra: use parameters in l0dables.nix

parent 111d8701
Pipeline #3895 passed with stage
in 10 minutes and 53 seconds
{ pkgs ? import <nixpkgs> {}}:
{ pkgs ? import <nixpkgs> {} }:
{
jobsets = pkgs.runCommand "spec.json" {} ''
cat > $out <<EOF
......
{ mozillaOverlay ? import <mozillaOverlay>,
rustManifest ? ./channel-rust-nightly.toml,
}:
let
mozillaOverlay = import <mozillaOverlay>;
rustManifest = ./channel-rust-nightly.toml;
manifestOverlay = self: super: {
rustChannelOfTargets = _channel: _date: targets:
(super.lib.rustLib.fromManifestFile rustManifest {
......@@ -8,10 +9,10 @@ let
}).rust.override { inherit targets; };
};
pkgs = (import <nixpkgs> { overlays = [ mozillaOverlay manifestOverlay ]; });
defaultPkgs = import ../default.nix {
project = import ../default.nix {
inherit pkgs mozillaOverlay;
firmwareSrc = <firmware>;
};
in {
l0dables = pkgs.lib.hydraJob defaultPkgs.l0dables;
l0dables = pkgs.lib.hydraJob project.l0dables;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment