NixOS/auto-upgrade: add gzip to service path

Resolves #28527
This commit is contained in:
Mikhail Klementev 2019-08-27 20:24:55 +00:00 committed by Bjørn Forsman
parent 57230c14e5
commit d4e8f7908d

View File

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