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')
|
||||
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([
|
||||
'nix',
|
||||
'--extra-experimental-features',
|
||||
'nix-command flakes',
|
||||
'flake',
|
||||
'lock',
|
||||
'update',
|
||||
'lix',
|
||||
])
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in a new issue