scripts/deploy: fix missing "setvar" when parsing "--deriv" argument

This commit is contained in:
2025-05-19 19:02:26 +00:00
parent d0327f8f73
commit 99826b7f1b

View File

@@ -363,9 +363,9 @@ proc main (...args) {
}
if (cli.deriv) {
if (cli.deriv => endsWith(".drv")) {
cfg.drvPath = cli.deriv
setvar cfg.drvPath = cli.deriv
} else {
cfg.storePath = cli.deriv
setvar cfg.storePath = cli.deriv
}
}
call cfgs->append(cfg)