How long until nix flakes go mainstream and fix this problem?
Replace "nix flakes" with "Docker" and you have your answer from almost decade ago.
No offense but it sounds like you don’t actually understand nix flakes if you think they’re 1:1 equivalent to Docker.
They simply are not containers. They allow the declarative BUILD of any derivation at any time in the future. They hermetically lock all dependencies and build instructions which allows you to archive and reproduce the EXACT content-addressed dependency graph of the software. You can rebuild using a flake while Docker doesn’t actually allow that same hermetic reproducible guarantee whatsoever.
You could even build a container with a flake though I’d recommend OCI instead because they’re an open standard...
Had to tell our DevOps guy this. Nobody at my company knows how to keep their build tools let alone their OS up to date. WhY WoNt IT CoMPilE?? Maybe because you’re using a 9 year old maven version, buddy.
How long until nix flakes go mainstream and fix this problem?
Replace "nix flakes" with "Docker" and you have your answer from almost decade ago.
No offense but it sounds like you don’t actually understand nix flakes if you think they’re 1:1 equivalent to Docker.
They simply are not containers. They allow the declarative BUILD of any derivation at any time in the future. They hermetically lock all dependencies and build instructions which allows you to archive and reproduce the EXACT content-addressed dependency graph of the software. You can rebuild using a flake while Docker doesn’t actually allow that same hermetic reproducible guarantee whatsoever.
See here for a much better explanation of the glaring differences between the two: https://youtu.be/0uixRE8xlbY
You could even build a container with a flake though I’d recommend OCI instead because they’re an open standard...