How to: write access to install folder?

Hi, nixpkgs.j requires write access to its install folder for its package manager to work…
I talked to them and while there is a way to tell J to use a different, writable directory
to install packages to, the base library is always in the install folder then breaks the
j package manager since it cannot update the base library

how to package such applications? i can’t imaginge this is the only application which works like this…

Either you have to keep the nix expression updated and disable in-app updates, or just provide an FHS env (see steam, dropbox, …) and don’t have nix handle any updates at all. Write access to /nix/store is not reasonable, as the nix daemon assumes it is the only thing that modifies the store.