forked from Lainports/freebsd-ports
Nix is a purely functional package manager. This means that it treats packages like values in purely functional programming languages such as Haskell -- they are built by functions that don't have side-effects, and they never change after they have been built. FreeBSD support in Nix is not fully complete yet. This commit only brings the Nix package manager to the ports. Hopefully, this port will streamline the work of bootstrapping of Nix packages on FreeBSD. Thanks to all the kind folks who contributed to the porting efforts. It was a fun journey. WWW: https://nixos.org/nix/ Differential Revision: https://reviews.freebsd.org/D17766
29 lines
665 B
Text
29 lines
665 B
Text
[
|
|
{
|
|
type: install
|
|
message: <<EOD
|
|
Experimental support
|
|
--------------------
|
|
|
|
Nix support is very much experimental on FreeBSD. The sysutils/nix port is
|
|
mainly aimed at developers, testers, and curious users. Nix should not be
|
|
considered stable yet on FreeBSD.
|
|
|
|
Creating Nix build users
|
|
------------------------
|
|
|
|
Nix build users may be created by executing the "add-nixbld-users" script
|
|
(which is located in "%%DATADIR%%") and specifying
|
|
the desired number of build users as an argument.
|
|
|
|
For example:
|
|
|
|
%%DATADIR%%/add-nixbld-users 4
|
|
|
|
is going to create 4 nixbld users.
|
|
|
|
See https://nixos.org/nix/manual/#ssec-multi-user for more details about
|
|
build users.
|
|
EOD
|
|
}
|
|
]
|