3 ms·
I had the feeling this would be an ad for Nix after reading the first few paragraphs. Is there really a difference from the Docker example given (“your Ubuntu
by ricardobeat 5y ago
I had the feeling this would be an ad for Nix after reading the first few paragraphs.
Is there really a difference from the Docker example given (“your Ubuntu version is EOL”) though? Any of your language or tools can be EOL’ed even if installed via nix, and you have the exact same problem in your hands.
- aidenn0 5y agoAs long as you can track down a source-file with the same sha, you can reproduce the build. I've had very old nix expressions fail to build after clearing my cache, but it was usually fixed fairly simply by changing a URL from http://example.com/release/foo-x.y.z.tgz http://example.com/release/foo-x.y.z.tgz to http://example.com/archive/foo-x.y.z.tgz http://example.com/archive/foo-x.y.z.tgz When that wasn't doable, I could google the name of the .tgz file, download a couple and find the one with the matching hash, drop the .tgz inside the directory and change the source to a relative path. Actually I do this even in the "release -> archive" case because "Move a URL once, shame on you. Move it twice, shame on me." [edit] If you really don't want to change the .nix expression, you can manually add the file to the cache, and things will Just Work.