nixos-config/apps/run-workflow-with-vm/app.sh

11 lines
219 B
Bash

#!/usr/bin/env bash
workflow=$1
shift 1
nix-build -A config.system.build.vm -k \
--argstr workflow "$workflow" \
@datadir@/@projectname@/configuration.nix \
@inputsArgs@ \
$@ \
${NIX_EXTRA_ARGS[@]}