pass deviceName as hydra input

This commit is contained in:
Daniel Barlow 2023-01-29 14:32:05 +00:00
parent cb6cc4b858
commit 8dc65d2fc8

View file

@ -1,9 +1,10 @@
{ ... }:
{
nixpkgs
, deviceName
, ... }:
let
# <nixpkgs> is set to the value designated by the nixpkgs input of the
# jobset configuration.
pkgs = (import <nixpkgs> {});
device = import <liminix/devices/qemu>;
pkgs = (import nixpkgs {});
device = import "${<liminix/devices>}/${deviceName}";
liminix-config = import <liminix/tests/smoke/configuration.nix>;
liminix = import <liminix> { inherit device liminix-config; };
in {