Skip to content

Error: unpacker produced multiple directories when installing timedesc #68

Answered by balsoft
MarcCoquand asked this question in Q&A
Discussion options

You must be logged in to vote

It seems that the timedesc archive contains multiple top-level directories. The proper way to deal with this is to just fix it (by adding an issue upstream). Until that is fixed, you could try adding an override for packages which use this archive, something like this:

        overlay = final: prev: {
          # You can add overrides here
          timedesc-tzdb = prev.timedesc-tzdb.overrideAttrs (_: { sourceRoot = "."; });
          timedesc-tzlocal = prev.timedesc-tzdb.overrideAttrs (_: { sourceRoot = "."; });
          timedesc = prev.timedesc-tzdb.overrideAttrs (_: { sourceRoot = "."; });
        };

This just tells nixpkgs stdenv to use archive's top-level instead of trying to change…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@ajbt200128
Comment options

@balsoft
Comment options

Answer selected by MarcCoquand
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants