1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 06:53:54 +02:00

installer: don't clobber synthetic.conf

(cherry picked from commit d3df1889a1)
Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
Daiderd Jordan 2020-05-21 20:03:09 +02:00 committed by Domen Kožar
parent 248c9f7c78
commit 6117afc4b8
No known key found for this signature in database
GPG key ID: C2FFBCAFD2C24246

View file

@ -122,7 +122,7 @@ main() {
if ! test_synthetic_conf; then
echo "Configuring /etc/synthetic.conf..." >&2
echo nix | sudo tee /etc/synthetic.conf
echo nix | sudo tee -a /etc/synthetic.conf
if ! test_synthetic_conf; then
echo "error: failed to configure synthetic.conf;" >&2
suggest_report_error