Fix: make Lix actually update the lock file correctly
Workaround for: lix-project/lix#465
Change-Id: If275926403f902fd784ffb122726a21c88f13136
This commit is contained in:
parent
9c97d3964b
commit
ae03473d8a
|
@ -79,12 +79,15 @@ def main():
|
||||||
flake_nix = Path('flake.nix')
|
flake_nix = Path('flake.nix')
|
||||||
replace_in_file(flake_nix, make_flake_url_section(args.new_version))
|
replace_in_file(flake_nix, make_flake_url_section(args.new_version))
|
||||||
|
|
||||||
|
# This is required to force Lix to update the lock file due to:
|
||||||
|
# https://git.lix.systems/lix-project/lix/issues/465
|
||||||
subprocess.run([
|
subprocess.run([
|
||||||
'nix',
|
'nix',
|
||||||
'--extra-experimental-features',
|
'--extra-experimental-features',
|
||||||
'nix-command flakes',
|
'nix-command flakes',
|
||||||
'flake',
|
'flake',
|
||||||
'lock',
|
'update',
|
||||||
|
'lix',
|
||||||
])
|
])
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in a new issue