numtide / system-manager

Manage system config using nix on any distro
MIT License
685 stars 18 forks source link

Fix pre-popopulate script name #99

Closed wentasah closed 3 months ago

wentasah commented 3 months ago

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 here). This commit fixes the problem.

zimbatm commented 3 months ago

thanks!