Merge pull request 'Add missing quotes around nix-command flakes' (#2557) from Enzime/clan-core:push-ovqtprtkzuvm into main
This commit is contained in:
@@ -74,7 +74,7 @@ def indent_command(command_list: list[str]) -> str:
|
|||||||
# Indent after the next argument
|
# Indent after the next argument
|
||||||
formatted_command.append(" ")
|
formatted_command.append(" ")
|
||||||
i += 1
|
i += 1
|
||||||
formatted_command.append(command_list[i])
|
formatted_command.append(shlex.quote(command_list[i]))
|
||||||
|
|
||||||
if i < len(command_list) - 1:
|
if i < len(command_list) - 1:
|
||||||
# Add line continuation only if it's not the last argument
|
# Add line continuation only if it's not the last argument
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ start_clan_gui() {
|
|||||||
exec nix run \
|
exec nix run \
|
||||||
https://git.clan.lol/clan/clan-core/archive/main.tar.gz#clan-app \
|
https://git.clan.lol/clan/clan-core/archive/main.tar.gz#clan-app \
|
||||||
--no-accept-flake-config \
|
--no-accept-flake-config \
|
||||||
--extra-experimental-features flakes nix-command -- "$@"
|
--extra-experimental-features "flakes nix-command" -- "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
|
|||||||
Reference in New Issue
Block a user