Skip to content

Pull resources from NAR directly #19

Description

@Thesola10

Right now the static-bins output just crossed 100MB uncompressed, which means it now has the honor of slamming into cachix/cachix#619. (UPDATE: they kindly pushed back the size limit cachix/cachix#619 (comment), but the fragility of Nixie's current approach is still evident)

We need a simpler, more Nix-y way to retrieve files from within the derivation. My idea now that #16 has been merged, is to try and write a streamed NAR parser in Amber, which would in turn provide exact offsets to download a file from within the NAR, using minimal bandwidth (and therefore memory) to perform the lookup in the first place.

The ideal implementation would be a Jura an Amethyst package, which implies a couple fixes to upstream projects first:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions