Jons Mostovojs<p>I spent four days learning <a href="https://social.doma.dev/tags/rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rust</span></a>-adjacent toolchains (of which there are four, which are doing some things that are the same and some things that are different: <a href="https://social.doma.dev/tags/naersk" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>naersk</span></a>, <a href="https://social.doma.dev/tags/fenix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fenix</span></a>, <a href="https://social.doma.dev/tags/rustPlatform" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rustPlatform</span></a>, <a href="https://social.doma.dev/tags/nixpkgs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nixpkgs</span></a>.<a href="https://social.doma.dev/tags/rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rust</span></a>).</p><p>Throughout these four days I have seen at least a dozen of different error messages. Not a single error message had **anything whatsoever** to do with the error site. Reading traces helped, sometimes, but not always. </p><p>If you are a company who has excess money and you want to make the world a better place, please have your R&D department pick up <a href="https://social.doma.dev/tags/purenix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>purenix</span></a>, I urge you.</p><p>I ended up downgrading my whole *large* codebase to <a href="https://social.doma.dev/tags/rustStable" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rustStable</span></a> and simplifying my <a href="https://social.doma.dev/tags/flake" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>flake</span></a> to:</p><p>```nix<br>{<br> description = "Flake for building rootrunner with standard nixpkgs Rust and OpenSSL support";</p><p> inputs = {<br> nixpkgs.url = "github:NixOS/nixpkgs";<br> flake-utils = {<br> url = "github:numtide/flake-utils";<br> inputs.nixpkgs.follows = "nixpkgs";<br> };<br> };</p><p> outputs = { self, nixpkgs, flake-utils, ... }:<br> flake-utils.lib.eachSystem [ "x86_64-linux" ] (system:<br> let<br> pkgs = import nixpkgs { inherit system; };<br> in<br> {<br> devShells.default = pkgs.mkShell {<br> buildInputs = with pkgs; [<br> rustc<br> cargo<br> rustfmt<br> clippy<br> rust-analyzer<br> pkg-config<br> sqlx-cli<br> postgresql<br> sqlite<br> nodejs<br> pnpm<br> zip<br> unzip<br> rsync<br> openssl.dev<br> openssl<br> ];<br> };</p><p> devShell = self.devShells.${system}.default;<br> }<br> );<br>}<br>```</p>