apps/run-workflow-with-vm: set the rest args for nix-build

This commit is contained in:
Gabriel Arazas 2024-01-25 12:13:40 +08:00
parent b45f061db7
commit a12e062116
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

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