[Nix-dev] Trouble installing NixOS from ISO

Eelco Dolstra eelco at cs.uu.nl
Mon Oct 22 13:43:28 CEST 2007


Eelco Dolstra wrote:

>> I've also tried building an ISO myself with a more recent
>> Nix+Nixpkgs+NixOS, but I'm not having better luck with that either. It
>> seems to chug along quite happily until it wants to build ssh. At that
>> point the build process stops at:
>>
>> mkdir /nix/store/ijwss48j4w415y5bhjnfdcnaw8dxfy5s-openssh-4.6p1/etc
>> cp: cannot create regular file
>> `/nix/store/ijwss48j4w415y5bhjnfdcnaw8dxfy5s-openssh-4.6p1/share/man/cat1/':
>> Is a directory
> 
> This is very strange, because openssh's "make install" should already have
> created $out/share/man/cat1 at this point (and I cannot reproduce this - when I
> do the build, cat1 exists and contains scp.1, ssh.1 etc.).  Will investigate.

Ah, I figured it out: openssh's configure tries to (impurely) run /usr/bin/groff
and depending on whether that succeeds decides to install the man pages in
either "catX" or "manX".  The flag "--with-mantype=man" fixes this (committed in
r9503).

-- 
Eelco Dolstra | http://www.cs.uu.nl/~eelco



More information about the nix-dev mailing list