diff options
author | clefru | 2021-01-22 19:58:23 +0100 |
---|---|---|
committer | GitHub | 2021-01-22 19:58:23 +0100 |
commit | 60c8cf4e02f240616e906d6333ebef23b6dfb382 (patch) | |
tree | c3ed378992ca77dcc722fc9323e0e945f0bce414 /nixos/lib | |
parent | f664823a1ae2a81cad5eae4c73b2a4714e417d64 (diff) |
Update nixos/lib/make-disk-image.nix
Co-authored-by: Alyssa Ross <hi@alyssa.is>
Diffstat (limited to 'nixos/lib')
-rw-r--r-- | nixos/lib/make-disk-image.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/lib/make-disk-image.nix b/nixos/lib/make-disk-image.nix index feb6d1940223..1cffca735632 100644 --- a/nixos/lib/make-disk-image.nix +++ b/nixos/lib/make-disk-image.nix @@ -186,7 +186,7 @@ let format' = format; in let echo "copying staging root to image..." cptofs -p ${optionalString (partitionTableType != "none") "-P ${rootPartition}"} -t ${fsType} -i $diskImage $root/* / || - (echo "ERROR: cptofs failed. diskSize might be too small for closure."; exit 1) + (echo >&2 "ERROR: cptofs failed. diskSize might be too small for closure."; exit 1) ''; in pkgs.vmTools.runInLinuxVM ( pkgs.runCommand name |