[Nix-dev] deploying nix-built software to non-nix linux systems

Eelco Dolstra eelco.dolstra at logicblox.com
Tue Nov 4 10:38:41 CET 2014


Hi,

On 04/11/14 10:37, Michael Raskin wrote:

>> No, this is not possible unless you do static linking or some deep
>> ld-linux/patchelf magic. For instance, my-app will have references to Glibc in
>> the Nix store, which are not relocatable.
> 
> Technically, one could install a second Nix instance with 
> /home/target-user/nix instead of /nix as Nix root.

This is not a solution because the resulting binaries are still not relocatable.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list