mirror of
https://github.com/cucumber-sp/yandex-music-linux.git
synced 2024-12-23 22:22:59 +03:00
Fix nix url generation
This commit is contained in:
parent
d3b677721b
commit
7b34faaf28
@ -52,7 +52,7 @@ def generate_nix():
|
||||
flake = f.read()
|
||||
_start_index = flake.find("ymExe.url = ")
|
||||
_end_index = flake.find(";", _start_index)
|
||||
flake = flake.replace(flake[_start_index:_end_index+1], f'ymExe.url = {version_info["ym"]["exe_link"]};')
|
||||
flake = flake.replace(flake[_start_index:_end_index+1], f'ymExe.url = "{version_info["ym"]["exe_link"]}";')
|
||||
with open(flake_path, "w") as f:
|
||||
f.write(flake)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user