forked from M-Labs/nix-scripts
another attempt at working around persistent channel src issue
This commit is contained in:
parent
30cfea4ae6
commit
04c902df76
6
artiq/channel.nix
Normal file
6
artiq/channel.nix
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{ pkgs ? import <nixpkgs> {}, constituents}:
|
||||||
|
pkgs.releaseTools.channel {
|
||||||
|
name = "main";
|
||||||
|
src = ./.;
|
||||||
|
inherit constituents;
|
||||||
|
}
|
5
main.nix
5
main.nix
@ -38,9 +38,8 @@ let
|
|||||||
} // boardJobs // artiqPkgs;
|
} // boardJobs // artiqPkgs;
|
||||||
in
|
in
|
||||||
jobs // {
|
jobs // {
|
||||||
channel = pkgs.releaseTools.channel {
|
channel = import "${generatedNix}/channel.nix" {
|
||||||
name = "main";
|
inherit pkgs;
|
||||||
src = "${generatedNix}";
|
|
||||||
constituents = builtins.attrValues jobs;
|
constituents = builtins.attrValues jobs;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user