Issue description
Steps to reproduce
When using libredirect on non-NixOS distro, e.g. Debian 9, LD_PRELOAD is propagated, so if wrapped application runs some system binary, there is an error:
sh: relocation error: /nix/store/sgjc1147vi5hd57ck9xgck5xjkydg5lz-glibc-2.25/lib/libdl.so.2: symbol _dl_catch_error, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
Is there a way to fix that?
Technical details
- System: (NixOS:
nixos-version, Ubuntu/Fedora: lsb_release -a, ...)
- Nix version: (run
nix-env --version)
- Nixpkgs version: (run
nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion)
- Sandboxing enabled: (run
grep build-use-sandbox /etc/nix/nix.conf)
Issue description
Steps to reproduce
When using libredirect on non-NixOS distro, e.g. Debian 9, LD_PRELOAD is propagated, so if wrapped application runs some system binary, there is an error:
Is there a way to fix that?
Technical details
nixos-version, Ubuntu/Fedora:lsb_release -a, ...)nix-env --version)nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion)grep build-use-sandbox /etc/nix/nix.conf)