nixos/auto-upgrade: Reference correct xz output

This commit is contained in:
Tuomas Tynkkynen 2015-08-21 20:38:12 +03:00 committed by Vladimír Čunát
parent 0b5353b319
commit 86919e2ae4

View File

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