Merge remote-tracking branch 'origin/main'

This commit is contained in:
Geoffrey Frogeye 2024-01-07 22:39:54 +01:00
commit 66f3179d41
2 changed files with 12 additions and 2 deletions

View file

@ -40,7 +40,17 @@ def process_flake(flake: str) -> None:
# call this function with the flake file # call this function with the flake file
process_flake(dep_flake) process_flake(dep_flake)
# update lockfile # update lockfile
cmd = ["nix", "flake", "lock", "--update-input", dep_name] cmd = [
"nix",
"--extra-experimental-features",
"nix-command",
"--extra-experimental-features",
"flakes",
"flake",
"lock",
"--update-input",
dep_name,
]
subprocess.run(cmd, cwd=dir) subprocess.run(cmd, cwd=dir)

View file

@ -168,4 +168,4 @@ with open("wireless_networks.env", "w") as fd:
print("Now, execute:") print("Now, execute:")
print("sudo mv -f wireless_networks.* /etc/keys") print("sudo mv -f wireless_networks.* /etc/keys")
print("sudo nixos-rebuild switch") print("rb")