3 ms·
I can install a working Haskell toolchain with my package manager instead of the farcical `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs https://sh.
by busterarm 5y ago
I can install a working Haskell toolchain with my package manager instead of the farcical `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs https://sh.rustup.rs | sh`.
If you're an automation-oriented kind of person like it's my job to be, setting up repeatable toolchians based around the above is a total crock of shit.
- whimsicalism 5y agoIf you think this is one of your stronger arguments, I think my point has been made.
- busterarm 5y agoGetting this right should be table stakes. Every non-Rustacean who has suddenly had Rust forced into their workflows asks for this to be solved, specifically, and the Rust community keeps digging its heels in. Haskell has its warts but it's not 101-level shit like this.
- howinteresting 5y agoWhat is your threat model that isn't solved by some combination of a rust-toolchain file and using your package manager (nix or whatever) to install rustup? If you want to isolate your build machines from the internet entirely, you're either going to use a hermetic build system and have some equivalent of vendoring your compiler, or manage your own internal package repository in which case you can just add your own Rust + Cargo build to it. If you're paranoid about building the Rust compiler from source, you can even put in the effort into bootstrapping your own lineage. But given that you're ok relying on your package manager for Haskell, it seems like this isn't a huge problem for you.
- __jem 5y ago"Getting this right" is a matter of opinion, and either way, rust can be installed a variety of ways. Your argument is literally nonsensical and demonstrates a seriously arrogance and lack of familiarity with what you're talking about.
- deleted 5y ago[deleted]
- steveklabnik 5y agoWhich package manager do you use that doesn't have rustc and cargo packaged yet?
- deleted 5y ago[deleted]
- __jem 5y agoRust/rustup is in every package manager like ever. As someone who is "automation-oriented" you sound like you don't have the faintest idea what you are talking about.