On Tue, Nov 4, 2014 at 10:38 AM, Eelco Dolstra <[email protected]> wrote: > 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. >
Anders: you would need to copy whole "closure" of your app (all runtime dependencies). this would mean a bigger download of your app but would increase the reliability of the deployment since you ship with whole environment -- Rok Garbas _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
