diff --git a/flake.lock b/flake.lock index a27a16a..033ca18 100644 --- a/flake.lock +++ b/flake.lock @@ -46,15 +46,15 @@ "pre-commit-hooks": "pre-commit-hooks" }, "locked": { - "lastModified": 1718419213, - "narHash": "sha256-WY7BGnu5PnbK4O8cKKv9kvxwzZIGbIQUQLGPHFXitI0=", - "rev": "253546d5fbf8a5aa60ac8164c1b4f5794dc4e9d1", + "lastModified": 1720626042, + "narHash": "sha256-f8k+BezKdJfmE+k7zgBJiohtS3VkkriycdXYsKOm3sc=", + "rev": "2a4376be20d70feaa2b0e640c5041fb66ddc67ed", "type": "tarball", - "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/253546d5fbf8a5aa60ac8164c1b4f5794dc4e9d1.tar.gz" + "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/2a4376be20d70feaa2b0e640c5041fb66ddc67ed.tar.gz" }, "original": { "type": "tarball", - "url": "https://git.lix.systems/lix-project/lix/archive/2.90.0-rc1.tar.gz" + "url": "https://git.lix.systems/lix-project/lix/archive/2.90.0.tar.gz" } }, "naersk": { diff --git a/set_version.py b/set_version.py index 05562f2..0e1374e 100755 --- a/set_version.py +++ b/set_version.py @@ -3,6 +3,7 @@ from pathlib import Path import textwrap import dataclasses import requests +import subprocess SYSTEMS = ['x86_64-linux', 'x86_64-darwin', 'aarch64-linux', 'aarch64-darwin'] @@ -78,6 +79,14 @@ def main(): flake_nix = Path('flake.nix') replace_in_file(flake_nix, make_flake_url_section(args.new_version)) + subprocess.run([ + 'nix', + '--extra-experimental-features', + 'nix-command flakes', + 'flake', + 'lock', + ]) + if __name__ == '__main__': main()