use nixFlakes instead of nixUnstable
This commit is contained in:
parent
b85eb200d9
commit
19f2bdf21b
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
|||
auto-optimise-store = true;
|
||||
builders-use-substitutes = true;
|
||||
};
|
||||
package = pkgs.nixUnstable;
|
||||
package = pkgs.nixFlakes;
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
|
|
|
@ -38,7 +38,7 @@ let script = ''
|
|||
|
||||
deploy_finished
|
||||
|
||||
PATH="${pkgs.gitMinimal}/bin:$PATH" ${pkgs.nixUnstable}/bin/nix flake update
|
||||
PATH="${pkgs.gitMinimal}/bin:$PATH" ${pkgs.nixFlakes}/bin/nix flake update
|
||||
|
||||
${pkgs.gitMinimal}/bin/git commit -am "Automatic nixpkgs update"
|
||||
${pkgs.gitMinimal}/bin/git push origin main
|
||||
|
|
Loading…
Reference in a new issue