NixOS & Github : Meeting Notes and Updates - January 2023

NixOS & Github Meeting

Raw notes below from the meeting with Github. Kickoff announcement - NixOS & Github - Collaboration! - Announcements - NixOS Discourse

TL;DR - We shared the Github issue that tracks all the community feedback with the Github team. Github team responses in bold at the bottom. We will meet again next months to collaborate on the Nix 20th anniversary and recurringly every quarter to discuss other potential collaborations/share feedback from the NixOS community.

Attendees: Mike McQuaid, Abigail Cabunoc Mayes, Martin Woodward, Kara Sowles, Ron Efroni (@ron), Eelco Dolstra (@edolstra)


  • Introductions + Happy New Year :sparkles:

  • Downloading packages from GitHub w/ special guest Mike McQuaid :tada:

    • Moving to users getting packages directly from GitHub
      • Will this be spammy? How can we be a good citizen.
        • Downloading nix packages directly using tarball urls directly from GitHub
    • Not sure if you’ll be in a better position to download tarball or upload to packages regularly
      • Abby / Martin: to reach out to people internally to see which we’d prefer (git systems team)
        • Otherwise, continue with whatever you’re doing now
    • Tarball from GitHub - dynamically generated the first time, then cached after that. Might also be cached when you generate a release.
    • Homebrew: moving away from full clones to tarball
  • How Nix uses GitHub - we’d love to hear from you!

  • Overview of features

    • Actions, discussions, Codespaces + others if applicable
    • GitHub Codespaces · GitHub
    • Quick call next month about 20th anniversary of Nix (20th, wow)
  • Anything else?

    • Ron can do a brain dump on GitHub Projects anytime :slight_smile:
  • Next month - Projects, codespaces, followups, and 20th anniversary

Nix Community GitHub Feedback Summary

Taken from

Feature requests:


Action items

  • Github - check with performance people
    • Tarball vs packages
    • Git gc
  • NixOS - Keep collecting feedback and follow up on current points
    • Share info in preparation for Nix 20th

Thank you to all the community members that collaborated on this!
Special thank you to all of those that also added/voted on issues in the tracker!


This is the issue: Caching `/nix/store` is ok, but unable to restore it. · Issue #749 · actions/cache · GitHub . The compression and caching works fine, but when the cache action attempts to extract it, it fails because everything in the store is read only, so the action does not have permissions to put files in the extracted folders. This can be resolved by doing the extraction with sudo (and probably the compression too).

Please see the issue for additional discussion. This issue pops up in other cases as well. There are workarounds but they are slow and should not be necessary once this change is made.

There’s a lot more to do on /nix/store and caching, but this fix should make it actually possible.

1 Like

For the short term adrenaline rush: GitHub - divnix/nix-cache-action: Cache dependencies and build outputs in GitHub Actions - forked for use with Nix

But what would be truly awesome (and maybe even still easier): GH Cache to expose a S3 interface.

Hosted by Flying Circus.