nix-installer icon indicating copy to clipboard operation
nix-installer copied to clipboard

How to handle Nix versions?

Open Hoverbear opened this issue 2 years ago • 1 comments
trafficstars

Right now we keep our Nix package URL as a const in the package, it may be ideal to determine a way to check what the most up to date option is during plan time.

Hoverbear avatar Nov 25 '22 19:11 Hoverbear

@cole-h had some good insight in https://github.com/DeterminateSystems/harmonic/pull/67#discussion_r1034081433:

Maybe something for later down the road, but maybe we could have these links be in a separate file that we include_str! from. That would make it easier to automatically keep these in sync with the latest Nix release (but again, probably save this for later) -- just have an action that finds the latest version and replaces the files.

Hoverbear avatar Nov 28 '22 22:11 Hoverbear