oxalica / rust-overlay

Pure and reproducible nix overlay of binary distributed rust toolchains
MIT License
960 stars 57 forks source link

`couldn't start dynamically linked executable` #162

Closed LennyLizowzskiy closed 8 months ago

LennyLizowzskiy commented 8 months ago

image

This is how the package is installed:

home.packages = with pkgs; [
    (rust-bin.stable.latest.default.override {
      extensions = [
        "rust-analyzer"
      ];

      targets = [
        "x86_64-pc-windows-gnu"
      ];
    })
];

I also tried NixOS installation before (i.e. via environment.systemPackages) but it didn't work too

LennyLizowzskiy commented 8 months ago

It seems like somehow I got the generic non-nix rustup and other tools installed on my system. Removed cargo cache and everything is ok now