fix bordervm in hydra

This commit is contained in:
Daniel Barlow
2023-02-20 17:46:07 +00:00
parent cc67116845
commit 4f5b4924ff
3 changed files with 12 additions and 4 deletions

6
ci.nix
View File

@@ -6,12 +6,13 @@
let
inherit (builtins) map;
pkgs = (import nixpkgs {});
borderVmConf = ./bordervm.conf-example.nix;
inherit (pkgs.lib.attrsets) genAttrs;
devices = [ "qemu" "gl-ar750" "gl-mt300n-v2" "gl-mt300a" ];
vanilla = ./vanilla-configuration.nix;
for-device = name:
(import liminix {
inherit nixpkgs;
inherit nixpkgs borderVmConf;
device = import (liminix + "/devices/${name}");
liminix-config = vanilla;
}).outputs.default;
@@ -19,12 +20,13 @@ let
jobs =
(genAttrs devices (name: for-device name)) // tests // {
buildEnv = (import liminix {
inherit nixpkgs;
inherit nixpkgs borderVmConf;
device = import (liminix + "/devices/qemu");
liminix-config = vanilla;
}).buildEnv;
with-unstable = (import liminix {
nixpkgs = unstable;
inherit borderVmConf;
device = import (liminix + "/devices/qemu");
liminix-config = vanilla;
}).outputs.default;