From 8dc65d2fc87e6daabd1ed4357c096ef662d3fae7 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Sun, 29 Jan 2023 14:32:05 +0000 Subject: [PATCH] pass deviceName as hydra input --- ci/basic.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/ci/basic.nix b/ci/basic.nix index e3c06fe..16153c3 100644 --- a/ci/basic.nix +++ b/ci/basic.nix @@ -1,9 +1,10 @@ -{ ... }: +{ + nixpkgs +, deviceName +, ... }: let - # is set to the value designated by the nixpkgs input of the - # jobset configuration. - pkgs = (import {}); - device = import ; + pkgs = (import nixpkgs {}); + device = import "${}/${deviceName}"; liminix-config = import ; liminix = import { inherit device liminix-config; }; in {