rules_nixpkgs
rules_nixpkgs copied to clipboard
Use stat to retain file permissions when copying files
With stat instead of chmod, this should improve the performance of copying many files with cp as chmod runs multiple syscalls when changing permissions.
Would be great if I can get your help to test these changes on Linux as well!
This is an alternative solution to #258.
Closes #256.