[Nix-dev] new user / FreeBSD notes

James Cook james.cook at utoronto.ca
Fri May 16 00:33:39 CEST 2008


On Thu, May 15, 2008 at 09:56:03AM +0200, Marc Weber wrote:
> Hi James
> 
> > - On FreeBSD, you must install bash and symlink /bin/bash to it.  Is
> >   there some way of bootstrapping bash on Linux?  Since bash isn't part
> >   of FreeBSD's base system, it might make sense to do the same thing on
> >   FreeBSD.
>         "On FreeBSD, you must install bash"
>         "Since bash isn't part of FreeBSD's base system"
> I don't know *BSD at all. But this sounds wired. The base system is the
> ainimalistic set to distribute *BSD, right ? So if you must install it
> it should be part of the base system? (linux)-glibc requires /bin/sh
> instead. That's the only "impure" path needed to run nix.

/bin/sh is ash in FreeBSD.  In fact, stdenv on FreeBSD uses mostly BSD
versions of utilities (sed, awk, grep, find, ...) which causes problems.
For example, I had to install GNU sed from ports and alias "sed" to
"gsed" in stdenv before ncurses would compile.



More information about the nix-dev mailing list