3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #55042 from markuskowa/fix-update-service

NixOS/auto-upgrade: add git to service path
This commit is contained in:
Silvan Mosberger 2019-02-02 00:32:35 +01:00 committed by GitHub
commit b185e5970f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,7 +78,7 @@ let cfg = config.system.autoUpgrade; in
HOME = "/root";
} // config.networking.proxy.envVars;
path = [ pkgs.gnutar pkgs.xz.bin config.nix.package.out ];
path = [ pkgs.gnutar pkgs.xz.bin pkgs.gitMinimal config.nix.package.out ];
script = ''
${config.system.build.nixos-rebuild}/bin/nixos-rebuild switch ${toString cfg.flags}