Skip to content

Failure with nix-installer v0.34.0 #64

@adamcstephens

Description

@adamcstephens

nix-installer 0.33/0.34 have breaking changes how the installer handles nix.conf. I received the error below with devbox using nix-installer 0.34.

 Info: Ensuring packages are installed.
Error: error installing package github:NixOS/nixpkgs/5725cc2291aaf698287f36c67a003f20ff2515ac#beam.packages.erlang_27.elixir_1_17
source: nix: command error: nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' path-info 'github:NixOS/nixpkgs/5725cc2291aaf698287f36c67a003f20ff2515ac#beam.packages.erlang_27.elixir_1_17' --json --impure: cannot open connection to remote store 'daemon': error: reading from file: Connection reset by peer: exit code 1
Error: There was an internal error. Run with DEVBOX_DEBUG=1 for a detailed error message, and consider reporting it at https://github.com/jetify-com/devbox/issues

Switching detsys/nix-installer-action directly and pinning nix-installer to source-tag: v0.32.3 resolved the issue. I have not had the chance to dig any further, but given that the problems caused by nix-installer 0.33 you'll want to start there.

DeterminateSystems/nix-installer#1389
DeterminateSystems/nix-installer#1390

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions