We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Adding nix-ld to docker images allows you to run pre-compiled binaries that depend on dynamic libraries inside docker images. To achieve that:
nix-ld
pkgs.nix-ld
"NIX_LD_LIBRARY_PATH=${pkgs.lib.makeLibraryPath [ pkgs.stdenv.cc ]}" ''NIX_LD=${pkgs.lib.fileContents "${pkgs.stdenv.cc}/nix-support/dynamic-linker"}''
runAsRoot = '' mkdir /lib64 ln -s /libexec/nix-ld /lib64/$(basename $(< ${pkgs.stdenv.cc}/nix-support/dynamic-linker)) '';