[Nix-dev] Should I do something about /share/man?

Pascal Wittmann PascalWittmann at gmx.net
Wed Oct 28 17:47:36 CET 2015


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 <sperber at 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 at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 
> 
> 
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20151028/1f418c77/attachment.bin 


More information about the nix-dev mailing list