Alexei, looks like steam does exactly that trick, just per user basis rather than on the system level. It keeps itself in ~/.local/share/steam I think, and applications are kept there as well and installed there but this are steam internals (nothing to do with nixos packaging).
2016-05-06 1:14 GMT+01:00 Alexei Robyn <[email protected]>: > I suggest you look into the way Steam is packaged, as it also self-updates > (and updates other applications under its control). > > > On Fri, May 6, 2016, at 09:13 AM, Tomasz Czyż wrote: > > IMHO, this is pretty simple. > You pack "first/original" version into immutable store /nix/store. You add > tiny wrapper around it, which checks if /var/lib/<app> exists, if not, > create directory and copy binary there and run it there. If file already > exists in /var/lib, execute it directly. Application can update itself > there. > > 2016-05-05 23:07 GMT+01:00 Nikita Karetnikov <[email protected]>: > > On Fri, May 06, 2016 at 01:02:15AM +0300, Nikita Karetnikov wrote: > > The server is controlled by other people. > > I'd like to add that I'm assuming that these people are not malicious. In > this > case, I'm more worried about a misconfigured package that might break my > system > in some way. > > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev > > > > > -- > Tomasz Czyż > *_______________________________________________* > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev > > > > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev > > -- Tomasz Czyż
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
