Re: [Nix-dev] Should I do something about /share/man?
On 28 October 2015 at 09:56, Michael Sperber wrote: > > Thanks for the quick response! > > Matthias Beyer writes: > >> 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. > > Sorry for being dense - where does $out come from? I.e. how can I set > it to something other than "" and how would that avoid this problem: In case anyone else was tempted to respond to this thread, note that Michael filed a bug at https://github.com/NixOS/nixpkgs/issues/10691 which is now closed. James ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Should I do something about /share/man?
Thanks for the quick response! Matthias Beyer writes: > 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. Sorry for being dense - where does $out come from? I.e. how can I set it to something other than "" and how would that avoid this problem: > On 28-10-2015 17:28:58, Michael Sperber wrote: >> 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
Re: [Nix-dev] Should I do something about /share/man?
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 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
Re: [Nix-dev] Should I do something about /share/man?
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 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 -- Mit freundlichen Grüßen, Kind regards, Matthias Beyer Proudly sent with mutt. Happily signed with gnupg. signature.asc Description: PGP signature ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Should I do something about /share/man?
Michael Sperber 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] Should I do something about /share/man?
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? Did I overlook some bit of documentation? -- Regards, Mike ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev