auto-upgrade: --update-input -> --override-input

This commit is contained in:
2024-09-13 23:50:29 +02:00
parent 5a76b62700
commit 4e81647fb6
3 changed files with 13 additions and 8 deletions

View File

@@ -4,8 +4,11 @@
enable = true;
flake = "git+https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git";
flags = [
"--update-input" "nixpkgs"
"--update-input" "nixpkgs-unstable"
# --update-input is deprecated since nix 2.22, and removed in lix 2.90
# https://git.lix.systems/lix-project/lix/issues/400
"--refresh"
"--override-input" "nixpkgs" "github:nixos/nixpkgs/nixos-24.05-small"
"--override-input" "nixpkgs-unstable" "github:nixos/nixpkgs/nixos-unstable-small"
"--no-write-lock-file"
];
};