set_version.py: Update flake.lock

Updating the lix version changes flake.nix inputs,
but did not change flake.lock.
Running `nix flake lock` is sufficient.

Change-Id: Ib1f482a0deb5c95ff2c9fc4d715bbc0733a5630b
This commit is contained in:
Artemis Tosini 2024-07-19 19:22:25 +00:00
parent 9b02b774bb
commit 9ff24626b8
Signed by: artemist
GPG key ID: EE5227935FE3FF18
2 changed files with 14 additions and 5 deletions

View file

@ -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": {

View file

@ -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()