Weird derivation name for docker-proxy

So today I ran into this line while running nixos-rebuild:

copying path '/nix/store/96dk7wcscvfjdl90s8ik0zbpgm7w0mri-docker-proxy-7b2b1feb1de4817d522cc372af149ff48d25028e-bin' from 'https://cache.nixos.org'...

I assume this isn’t a critical issue, yet I wonder why it is so…

It’s because this derivation is fetching a specific revision instead of a version, and the author chose to put the revision in the name.

name = "docker-proxy-${rev}";
1 Like