Nikita Karetnikov <[email protected]> skribis: >>> I can’t find anything relevant there. I suppose that Nix people don’t >>> have to touch those binaries since they have ‘/bin/sh’ in a chroot. > >> What string exactly are you trying to patch? Just /bin/sh? In which >> binary? > > For now, at least ‘/bin/sh’ in ‘inplace/bin/ghc-cabal’.
What is it used for? Some kind of ‘system’ function? If that is the case, perhaps you could replace the relevant calls to that function in the source with something equivalent (like execve(/nix/store/.../bin/sh)). Ludo’.
