News for hackers. Stuff that matters.
Re:Nix as OS X Package Manager by nickysielicki on Wednesday May 25, 2016 @05:05PM (#11773078)
Good point, I didn't look at the script. My point about half-downloads is bogus.

Kind of a funny situation. If you look at the script first, you'll notice that it would have been okay for the download to be interrupted and so, assuming everything else is kosher with you, the '| sh' would have been "safe".

And if you don't look at the script first, you'd never know that what you just did was "safe."

Schroedinger's-pipe-to-sh.

Re:Nix as OS X Package Manager by grhmc on Wednesday May 25, 2016 @05:20PM (#11773216)
I think this is just "good design," you expect tools to be designed to handle failure in a reasonable way.
Re:Nix as OS X Package Manager by falcolas on Wednesday May 25, 2016 @06:54PM (#11773821)
You might expect it, but if you're blindly running `curl > sh` (as recommended), you can't be certain.