Comment

Comment by dmitriid

> You can do version pinning with flakes: https://nixos.wiki/wiki/Flakes

1. How?

You'd think such a simple thing, especially in the context of "ditch version managers" would be easy and warrant at least an example.

So far I've had:

- ignoring the question or avoiding the answer

- one answer "just use overlays" with no example

- one answer "just use flakes" with no example

2. It's a separate, unstable feature

It amazes me that after 18 years, you still need (probably? no idea) to use some entirely separate feature that is still unstable/experimental and uses an entirely different system of describing what's needed than nix proper.

And still no answer how to do the thing that is literally required for every single reproducible build: pin a tool to a specific version.

Meanwhile tools that we're supposed to ditch are as simple as

    rvm install 2.1.1
    rvm use 2.1.1
parent dmitriid 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton