Branch: refs/heads/release-17.03
Home: https://github.com/NixOS/nixpkgs
Commit: d370e5fa226abe4f8ad660d8daca9ecfc483e7fc
https://github.com/NixOS/nixpkgs/commit/d370e5fa226abe4f8ad660d8daca9ecfc483e7fc
Author: c74d <[email protected]>
Date: 2017-03-24 (Fri, 24 Mar 2017)
Changed paths:
M nixos/modules/virtualisation/google-compute-image.nix
Log Message:
-----------
google-compute-image: copy store paths with rsync
In `nixos/modules/virtualisation/google-compute-image.nix`, copy store
paths with `rsync -a` rather than `cp -prd`, because `rsync` seems
better able to handle the hard-links that may be present in the store,
whereas `cp` may fail to copy them.
I have tested that the Google Compute Engine image builds successfully
for me with this patch, whereas it did not without this patch.
This is the same fix applied for Azure images in commit
097ef6e435d5b3fcde92e67abbaaaaaf05c0723d.
Fixes #23973.
(cherry picked from commit e0e520a5191542ba6b204f1226bf97299b85b286)
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits