Skip to content

Errors installing extensions after upgrading home-manager: Unrecognized archive format #65

@mawkler

Description

@mawkler

I updated home-manager to github:nix-community/home-manager/release-25.11 and suddenly I get a bunch of errors when I do home-manager switch. I have installed vicinae using the official home-manager setup.

I'm not sure how to interpret the error message. I'm guessing that the smoking gun is Unrecognized archive format?

error: Cannot build '/nix/store/jf8pr3gjd16iav4xkbsn3l8jybmnzl4r-bluetooth.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/534mkmfnvcam1wwy6mjglxl9rd7f4j0z-bluetooth
       Last 21 log lines:
       > Running phase: unpackPhase
       > unpacking source archive /nix/store/gw0g429kz361lz92j3dbslsvkwipxz94-source/extensions/bluetooth
       > source root is bluetooth
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > no configure script, doing nothing
       > Executing npmConfigHook
       > Configuring npm
Installing patched package.json/package-lock.json
       > Installing dependencies
       > npm warn tar TAR_BAD_ARCHIVE: Unrecognized archive format
       > npm error code ENODATA
       > npm error Cache input stream was empty
       > npm error A complete log of this run can be found in: /build/.npm/_logs/2025-11-26T21_35_41_868Z-debug-0.log
       >
       > ERROR: npm failed to install dependencies
       >
       > Here are a few things you can try, depending on the error:
       > 1. Set `npmFlags = [ "--legacy-peer-deps" ]`
       >
       For full logs, run:
         nix log /nix/store/jf8pr3gjd16iav4xkbsn3l8jybmnzl4r-bluetooth.drv
options.json> building '/nix/store/nkv61w3rsdy5ai6fqlpx133l6n0ic909-options.json.drv'
source> building '/nix/store/8aa0i1g8qv4y4h08q8k1mkwkcdqa6sjy-source.drv'
error: Cannot build '/nix/store/gdg8p6jlpyabmcxh6nd0m1bmwx4fm7xj-home-manager-files.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/lfjk5ky4cbpqrydl35idhrfbsyw3rw3c-home-manager-files
error: Cannot build '/nix/store/bx5y1vfg62nmi3c566ddwipsfxbk80m1-home-manager-generation.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/27nas0qbwzgycji4a9gqjlfjggajsmca-home-manager-generation

I'm on the latest extensions commit (ec7334e).

Metadata

Metadata

Assignees

No one assigned

    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