diff --git a/set_version.py b/set_version.py index 0e1374e..0b0b2ee 100755 --- a/set_version.py +++ b/set_version.py @@ -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__':