This is done in pkgs/os-specific/darwin/apple-source-releases/adv_cmds/default.nix. However I have no idea why this fails and have no darwin machine to test and investigate.
On 10/28/2015 05:42 PM, Matthias Beyer wrote: > Man files are supposed to be in the store as well. > > You should create a > > $out/share/man/ > > and move the man files of a program to this location. > > On 28-10-2015 17:28:58, Michael Sperber wrote: >> >> Michael Sperber <sper...@deinprogramm.de> writes: >> >>> The installation of many Nix packages for me ends in this: >>> >>> moving /nix/store/qhpf938zw5mbrlvazpnlkvd9z3fmvyyq-adv_cmds-153/share/man >>> to /share/man >>> mv: cannot move >>> '/nix/store/qhpf938zw5mbrlvazpnlkvd9z3fmvyyq-adv_cmds-153/share/man' to >>> '/share/man/man': Permission denied >>> ... aborting the install >>> >>> (This is on Mac OS X.) >>> >>> I think I saw this before, but it was always ignored. >>> >>> Should I create /share/man and make it writable? >> >> Well, I just did that, but then the *second* package that tries to do >> this fails with: >> >> mv: cannot move >> '/nix/store/ag4ni27jvlnbdnklbpb1xv4cqchxd30s-expat-2.1.0/share/man' to >> '/share/man/man': Directory not empty >> >> -- >> Regards, >> Mike >> >> _______________________________________________ >> nix-dev mailing list >> nix-dev@lists.science.uu.nl >> http://lists.science.uu.nl/mailman/listinfo/nix-dev > > > > _______________________________________________ > nix-dev mailing list > nix-dev@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev