[Nix-dev] Change owner and permissions of a file in nix-store
Peter Jones
mlists at pmade.com
Wed Dec 16 20:25:59 CET 2015
Luca Bruno <lethalman88 at gmail.com> writes:
> I think a good workaround to avoid using absolute paths in general (which
> thus allows for exchanging derivations between machines) may work as
> follows:
> 1. The derivation creates a tar. In a tar, you can set the permissions and
> ownership you want.
> 2. Create some activation script that untars the archive preserving the
> permissions under some path.
Wouldn't the tar be world-readable in the nix store?
--
Peter Jones, Founder, Devalot.com
Defending the honor of good code
More information about the nix-dev
mailing list