Fix pre-popopulate script name (#99)
Running
nix run 'github:numtide/system-manager' -- --target-host XXX pre-populate --flake .
fails with the following error:
bash: line 1: /nix/store/mij0x8wba9baq05863shk7hbdw39azvr-system-manager/bin/pre-populate: No such file or directory
The reason is that the script has no dash in its name (see
fe08568d4a/nix/modules/default.nix (L175)).
This commit fixes the problem.
This commit is contained in:
parent
fe08568d4a
commit
cb56e9662a
1 changed files with 1 additions and 1 deletions
|
|
@ -359,7 +359,7 @@ fn do_prepopulate(
|
||||||
if let Some(target_host) = target_host {
|
if let Some(target_host) = target_host {
|
||||||
invoke_remote_script(
|
invoke_remote_script(
|
||||||
&store_path.store_path,
|
&store_path.store_path,
|
||||||
"pre-populate",
|
"prepopulate",
|
||||||
target_host,
|
target_host,
|
||||||
use_remote_sudo,
|
use_remote_sudo,
|
||||||
)?;
|
)?;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue