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:
parent
9b02b774bb
commit
9ff24626b8
10
flake.lock
10
flake.lock
|
@ -46,15 +46,15 @@
|
||||||
"pre-commit-hooks": "pre-commit-hooks"
|
"pre-commit-hooks": "pre-commit-hooks"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1718419213,
|
"lastModified": 1720626042,
|
||||||
"narHash": "sha256-WY7BGnu5PnbK4O8cKKv9kvxwzZIGbIQUQLGPHFXitI0=",
|
"narHash": "sha256-f8k+BezKdJfmE+k7zgBJiohtS3VkkriycdXYsKOm3sc=",
|
||||||
"rev": "253546d5fbf8a5aa60ac8164c1b4f5794dc4e9d1",
|
"rev": "2a4376be20d70feaa2b0e640c5041fb66ddc67ed",
|
||||||
"type": "tarball",
|
"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": {
|
"original": {
|
||||||
"type": "tarball",
|
"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": {
|
"naersk": {
|
||||||
|
|
|
@ -3,6 +3,7 @@ from pathlib import Path
|
||||||
import textwrap
|
import textwrap
|
||||||
import dataclasses
|
import dataclasses
|
||||||
import requests
|
import requests
|
||||||
|
import subprocess
|
||||||
|
|
||||||
SYSTEMS = ['x86_64-linux', 'x86_64-darwin', 'aarch64-linux', 'aarch64-darwin']
|
SYSTEMS = ['x86_64-linux', 'x86_64-darwin', 'aarch64-linux', 'aarch64-darwin']
|
||||||
|
|
||||||
|
@ -78,6 +79,14 @@ 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))
|
||||||
|
|
||||||
|
subprocess.run([
|
||||||
|
'nix',
|
||||||
|
'--extra-experimental-features',
|
||||||
|
'nix-command flakes',
|
||||||
|
'flake',
|
||||||
|
'lock',
|
||||||
|
])
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue