Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove rsync usage in the installer #5150

Merged
merged 1 commit into from
Aug 19, 2021
Merged

Remove rsync usage in the installer #5150

merged 1 commit into from
Aug 19, 2021

Conversation

domenkozar
Copy link
Member

@domenkozar domenkozar commented Aug 17, 2021

It's not commonly installed on systems like debian,
so avoid the bootstrapping problem by using cp and
chmod.

Not tested yet. See comment below.

Fixes #2437

It's not commonly installed on systems like debian,
so avoid the bootstrapping problem by using cp and
chmod.
@domenkozar
Copy link
Member Author

Tested at https://github.com/domenkozar/test-cachix-installer/runs/3369467883?check_suite_focus=true using Debian self-hosted runner (that previously failed due to rsync missing).

@domenkozar
Copy link
Member Author

Another benefit is smaller Nix closure for self-contained statically linked Nix.

@domenkozar domenkozar merged commit ffa629b into master Aug 19, 2021
abathur added a commit to abathur/nix that referenced this pull request Jun 16, 2022
Before NixOS#5150 the copy-to-store phase of the install was idempotent,
but the recursive cp isn't. This is probably baiting a few people
into trying corrective installs that will fail.
abathur added a commit to abathur/nix that referenced this pull request Jun 28, 2022
Before NixOS#5150 the copy-to-store phase of the install was idempotent,
but the recursive cp isn't. This is probably baiting a few people
into trying corrective installs that will fail.
abathur added a commit to abathur/nix that referenced this pull request Jun 30, 2022
Before NixOS#5150 the copy-to-store phase of the install was idempotent,
but the recursive cp isn't. This is probably baiting a few people
into trying corrective installs that will fail.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--daemon installer assumes the presence of rsync
2 participants