mirror of
https://github.com/nix-community/nixos-generators.git
synced 2024-08-16 07:30:22 +03:00
fix #70
This commit is contained in:
parent
d99d0790fa
commit
65d3bd489f
@ -119,6 +119,10 @@ if [[ -z $format_path ]]; then
|
||||
abort "missing format. use --help for more details"
|
||||
fi
|
||||
|
||||
if [[ ! -f $format_path ]]; then
|
||||
abort "format file not found: $format_path"
|
||||
fi
|
||||
|
||||
nix_args+=(
|
||||
-I "nixos-config=$configuration"
|
||||
-I "format-config=$format_path"
|
||||
|
Loading…
Reference in New Issue
Block a user