1
0
Fork 0

another attempt at working around persistent channel src issue

This commit is contained in:
Sebastien Bourdeauducq 2019-02-14 17:20:58 +08:00
parent 30cfea4ae6
commit 04c902df76
2 changed files with 8 additions and 3 deletions

6
artiq/channel.nix Normal file
View File

@ -0,0 +1,6 @@
{ pkgs ? import <nixpkgs> {}, constituents}:
pkgs.releaseTools.channel {
name = "main";
src = ./.;
inherit constituents;
}

View File

@ -38,9 +38,8 @@ let
} // boardJobs // artiqPkgs;
in
jobs // {
channel = pkgs.releaseTools.channel {
name = "main";
src = "${generatedNix}";
channel = import "${generatedNix}/channel.nix" {
inherit pkgs;
constituents = builtins.attrValues jobs;
};
}