pass deviceName as hydra input

module-based-network
Daniel Barlow 2023-01-29 14:32:05 +00:00
parent cb6cc4b858
commit 8dc65d2fc8
1 changed files with 6 additions and 5 deletions

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 {