nixpkgs-mozilla
nixpkgs-mozilla copied to clipboard
Latest rustc stable (1.46.0) breaks because libz.so.1 is missing
rustc 1.46.0 returns the following error upon execution:
rustc: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
As workaround, I pinned version 1.45.2, which works fine.
Another easy workaround is to add the following to your shell.nix:
shellHook = ''
export LD_LIBRARY_PATH=${zlib.out}/lib''${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
'';
Should this be
shellHook = ''
export LD_LIBRARY_PATH=${zlib.out}/lib:${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
'';
?
Thanks
Probably. No idea how that typo happened.
fixed in ab9b53eb