|
From: | Ludovic Courtès |
Subject: | Re: 'substitute*' fails with "string contains #\nul character" |
Date: | Mon, 19 Aug 2013 13:22:34 +0200 |
User-agent: | Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) |
Nikita Karetnikov <address@hidden> 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’.
[Prev in Thread] | Current Thread | [Next in Thread] |