Open mimame opened 1 year ago
Can confirm. I've tried this out too and the same error occurs.
You can try to get around this using nix-ld
I include the following in my nixos configuration:
...
programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [
stdenv.cc.cc
curl # for choosenim
];
...
Though while nix-ld
helps to run binaries that were linked with /lib64/ld-linux-x86-64
. I think it will create problems down the road running anything that relies on dynlib
. I just found out I get runtime errors after compiling with -d:ssl
. I don't have this issue with the nim2
package in nixpkgs
though.
This happens with NixOS
When I run
curl https://nim-lang.org/choosenim/init.sh -sSf | sh
After some investigations, I realized the next:
ldd choosenim-0.8.4_linux_amd64
When I compile choosenim by myself, I get the good path:
ldd choosenim
I don't know if this can be solved, but to I hope to be useful in any case
Thanks so much in advance