mirror of
https://github.com/NixOS/nix
synced 2025-07-08 11:03: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:
parent
248c9f7c78
commit
6117afc4b8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue