Stream: show and tell

Topic: nix derivation to download nightly


view this post on Zulip joshi (Dec 01 2023 at 14:01):

Hi!

Because building roc takes soo long on my cheap laptop, I decided to go the "fix the dependencies" route instead for my AOC setup this year. It looks like doing it this way is pretty simple as well, you just need to do the nix dance of setting up LD_LIBRARY_PATH correctly.

The only problem is that the nightly release links are not immutable, so the flake will break every day because of a hash mismatch.. I still wanted to share it though, since fixing the hash is usually easy once you copy the derivation!

Here it is: https://gitlab.com/arkandos/aoc/-/blob/2023/flake.nix?ref_type=heads


Last updated: Jul 06 2025 at 12:14 UTC