Show HN: FlakeHub Cache: Fast, secure, configurable. A new take on Nix caching

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Civic Auth - Auth in Less Than 5 Minutes
Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.
www.civic.com
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
  1. cachix

    Command line client for Nix binary cache hosting:

    I've been trying to gradually introduce Nix more into my development.[0]

    One roadblock I haven't been able to overcome is integrating Nix in CI. In my case, I use CircleCI. I know there are Nix-centric CI platforms, but I've invested a lot into CircleCI and would like to stay.

    The problem I hit is that if I switch from something like a sqlfluff Docker container to a Nix Docker container, my build job goes from 15s to 2m+ because now I have to download several gigs within the CI job and build my Nix environment from scratch.[1]

    I tried Cachix, but the best I could get was bringing the job down to 55s (a roughly 3x performance penalty from an off-the-shelf Docker container).[2]

    How does FlakeHub Cache's performance in CI compare to the default Nux cache or to Cachix?

    [0] https://mtlynch.io/notes/nix-dev-environment/

    [1] https://github.com/cachix/cachix/issues/579

    [2] https://github.com/cachix/cachix/issues/579#issuecomment-175...

  2. Civic Auth

    Auth in Less Than 5 Minutes. Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.

    Civic Auth logo
  3. cachix-action

    Build software only once and put it in a global cache

    * https://github.com/cachix/cachix-action uploads whatever Nix builds to Cachix in the background so from this point on if any of our devs pulls the latest code, they don't have to build any derivations locally, and lose time waiting, everything is pulled automatically from Cachix to their machines, they can get right to work. Or if I have to purge the Cache Volume for some reason, nothing needs to be rebuilt, just pulled from Cachix.

    It's taken a few years to get this dialed in, but now that it works, it's sooo good!

  4. magic-nix-cache-action

    Save 30-50%+ of CI time without any effort or cost. Use Magic Nix Cache, a totally free and zero-configuration binary cache for Nix on GitHub Actions.

    I'd be quite curious to see how using the Magic Nix Cache Action compares to your setup in terms of performance: https://github.com/DeterminateSystems/magic-nix-cache-action

    (full disclosure: Determinate Systems employee)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Why does Nix have Haskell packages that are incompatible with GHC for a given version?

    3 projects | /r/haskell | 29 Dec 2022
  • Any up-to-date cross-compiling methods for Raspberry Pi?

    3 projects | /r/haskell | 20 Sep 2022
  • Take the Nix Pill

    4 projects | /r/linuxmemes | 8 Jul 2022
  • GHC 9.4.1 Windows changes

    2 projects | /r/haskell | 28 Jun 2022
  • Nix: An idea whose time has come

    17 projects | news.ycombinator.com | 18 Feb 2022

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?