BSD Ports

sysutils/nix 2.32.4_6 FreeBSD

Purely functional package manager

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
97a84ef467
License
LGPL21
Categories
sysutils
Package size
5696.5 KiB, 39199.1 KiB installed

Description

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. Nix stores packages in the Nix store, usually the directory /nix/store, where each package has its own unique subdirectory such as

/nix/store/b6gvzjyb2pg0kjfwrjmg1vfhh54ad73z-firefox-33.1/

where b6gvzjyb2pg0... is a unique identifier for the package that captures all its dependencies (it's a cryptographic hash of the package's build dependency graph). This enables many powerful features.

Install

Binary package:

pkg install nix

From the ports tree:

cd /usr/ports/sysutils/nix/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	nix>0:sysutils/nix
LIB_DEPENDS=	libnixcmd.so:sysutils/nix

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.32.4_62.32.4_6--2.32.4_6
FreeBSD:14:quarterly2.32.4_62.32.4_6n/a-2.32.4_6
FreeBSD:15:latest2.32.4_62.32.4_6n/a--
FreeBSD:15:quarterly2.32.4_62.32.4_6n/an/an/a
FreeBSD:16:latest2.32.4_62.32.4_6n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 4

Library 12

The full lists below include those, and their dependencies in turn.

Build dependencies 118

The first 100 are listed.

Run dependencies 98

No port depends on this one.

Configuration

Options name: sysutils_nix

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
bison cmake:indirect compiler:c++23-lang cpe libarchive localbase meson ninja pkgconfig sqlite:3 ssl
Service scripts
none

Message after installing

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 "/usr/local/share/nix") and specifying
the desired number of build users as an argument.

For example:

/usr/local/share/nix/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.

Files

Manual pages 134
  • nix(1)
  • nix-build(1)
  • nix-channel(1)
  • nix-collect-garbage(1)
  • nix-copy-closure(1)
  • nix-daemon(8)
  • nix-env(1)
  • nix-env-delete-generations(1)
  • nix-env-install(1)
  • nix-env-list-generations(1)
  • nix-env-query(1)
  • nix-env-rollback(1)
  • nix-env-set(1)
  • nix-env-set-flag(1)
  • nix-env-switch-generation(1)
  • nix-env-switch-profile(1)
  • nix-env-uninstall(1)
  • nix-env-upgrade(1)
  • nix-hash(1)
  • nix-instantiate(1)
  • nix-prefetch-url(1)
  • nix-profiles(5)
  • nix-shell(1)
  • nix-store(1)
  • nix-store-add(1)
  • nix-store-add-fixed(1)
  • nix-store-delete(1)
  • nix-store-dump(1)
  • nix-store-dump-db(1)
  • nix-store-export(1)
  • nix-store-gc(1)
  • nix-store-generate-binary-cache-key(1)
  • nix-store-import(1)
  • nix-store-load-db(1)
  • nix-store-optimise(1)
  • nix-store-print-env(1)
  • nix-store-query(1)
  • nix-store-read-log(1)
  • nix-store-realise(1)
  • nix-store-repair-path(1)
  • nix-store-restore(1)
  • nix-store-serve(1)
  • nix-store-verify(1)
  • nix-store-verify-path(1)
  • nix.conf(5)
  • nix3-build(1)
  • nix3-bundle(1)
  • nix3-config(1)
  • nix3-config-check(1)
  • nix3-config-show(1)
  • nix3-copy(1)
  • nix3-daemon(1)
  • nix3-derivation(1)
  • nix3-derivation-add(1)
  • nix3-derivation-show(1)
  • nix3-develop(1)
  • nix3-edit(1)
  • nix3-env-shell(1)
  • nix3-eval(1)
  • nix3-flake(1)
  • nix3-flake-archive(1)
  • nix3-flake-check(1)
  • nix3-flake-clone(1)
  • nix3-flake-info(1)
  • nix3-flake-init(1)
  • nix3-flake-lock(1)
  • nix3-flake-metadata(1)
  • nix3-flake-new(1)
  • nix3-flake-prefetch(1)
  • nix3-flake-show(1)
  • nix3-flake-update(1)
  • nix3-fmt(1)
  • nix3-hash(1)
  • nix3-hash-convert(1)
  • nix3-hash-file(1)
  • nix3-hash-path(1)
  • nix3-hash-to-base16(1)
  • nix3-hash-to-base32(1)
  • nix3-hash-to-base64(1)
  • nix3-hash-to-sri(1)
  • nix3-help(1)
  • nix3-help-stores(1)
  • nix3-key(1)
  • nix3-key-convert-secret-to-public(1)
  • nix3-key-generate-secret(1)
  • nix3-log(1)
  • nix3-nar(1)
  • nix3-nar-cat(1)
  • nix3-nar-dump-path(1)
  • nix3-nar-ls(1)
  • nix3-nar-pack(1)
  • nix3-path-info(1)
  • nix3-print-dev-env(1)
  • nix3-profile(1)
  • nix3-profile-add(1)
  • nix3-profile-diff-closures(1)
  • nix3-profile-history(1)
  • nix3-profile-list(1)
  • nix3-profile-remove(1)
  • nix3-profile-rollback(1)
  • nix3-profile-upgrade(1)
  • nix3-profile-wipe-history(1)
  • nix3-realisation(1)
  • nix3-realisation-info(1)
  • nix3-registry(1)
  • nix3-registry-add(1)
  • nix3-registry-list(1)
  • nix3-registry-pin(1)
  • nix3-registry-remove(1)
  • nix3-repl(1)
  • nix3-run(1)
  • nix3-search(1)
  • nix3-store(1)
  • nix3-store-add(1)
  • nix3-store-add-file(1)
  • nix3-store-add-path(1)
  • nix3-store-cat(1)
  • nix3-store-copy-log(1)
  • nix3-store-copy-sigs(1)
  • nix3-store-delete(1)
  • nix3-store-diff-closures(1)
  • nix3-store-dump-path(1)
  • nix3-store-gc(1)
  • nix3-store-info(1)
  • nix3-store-ls(1)
  • nix3-store-make-content-addressed(1)
  • nix3-store-optimise(1)
  • nix3-store-path-from-hash-part(1)
  • nix3-store-prefetch-file(1)
  • nix3-store-repair(1)
  • nix3-store-sign(1)
  • nix3-store-verify(1)
  • nix3-upgrade-nix(1)
  • nix3-why-depends(1)
pkg-plist 450
  • bin/nix
  • bin/nix-build
  • bin/nix-channel
  • bin/nix-collect-garbage
  • bin/nix-copy-closure
  • bin/nix-daemon
  • bin/nix-env
  • bin/nix-hash
  • bin/nix-instantiate
  • bin/nix-prefetch-url
  • bin/nix-shell
  • bin/nix-store
  • etc/profile.d/nix-daemon.fish
  • etc/profile.d/nix-daemon.sh
  • etc/profile.d/nix.fish
  • etc/profile.d/nix.sh
  • etc/rc.d/nix-daemon
  • include/nix/cmd/built-path.hh
  • include/nix/cmd/command-installable-value.hh
  • include/nix/cmd/command.hh
  • include/nix/cmd/common-eval-args.hh
  • include/nix/cmd/compatibility-settings.hh
  • include/nix/cmd/editor-for.hh
  • include/nix/cmd/installable-attr-path.hh
  • include/nix/cmd/installable-derived-path.hh
  • include/nix/cmd/installable-flake.hh
  • include/nix/cmd/installable-value.hh
  • include/nix/cmd/installables.hh
  • include/nix/cmd/legacy.hh
  • include/nix/cmd/markdown.hh
  • include/nix/cmd/misc-store-flags.hh
  • include/nix/cmd/network-proxy.hh
  • include/nix/cmd/repl-interacter.hh
  • include/nix/cmd/repl.hh
  • include/nix/expr/attr-path.hh
  • include/nix/expr/attr-set.hh
  • include/nix/expr/config.hh
  • include/nix/expr/counter.hh
  • include/nix/expr/eval-cache.hh
  • include/nix/expr/eval-error.hh
  • include/nix/expr/eval-gc.hh
  • include/nix/expr/eval-inline.hh
  • include/nix/expr/eval-profiler-settings.hh
  • include/nix/expr/eval-profiler.hh
  • include/nix/expr/eval-settings.hh
  • include/nix/expr/eval.hh
  • include/nix/expr/function-trace.hh
  • include/nix/expr/gc-small-vector.hh
  • include/nix/expr/get-drvs.hh
  • include/nix/expr/json-to-value.hh
  • include/nix/expr/nixexpr.hh
  • include/nix/expr/parser-state.hh
  • include/nix/expr/primops.hh
  • include/nix/expr/print-ambiguous.hh
  • include/nix/expr/print-options.hh
  • include/nix/expr/print.hh
  • include/nix/expr/repl-exit-status.hh
  • include/nix/expr/search-path.hh
  • include/nix/expr/symbol-table.hh
  • include/nix/expr/value-to-json.hh
  • include/nix/expr/value-to-xml.hh
  • include/nix/expr/value.hh
  • include/nix/expr/value/context.hh
  • include/nix/fetchers/attrs.hh
  • include/nix/fetchers/cache.hh
  • include/nix/fetchers/fetch-settings.hh
  • include/nix/fetchers/fetch-to-store.hh
  • include/nix/fetchers/fetchers.hh
  • include/nix/fetchers/filtering-source-accessor.hh
  • include/nix/fetchers/git-lfs-fetch.hh
  • include/nix/fetchers/git-utils.hh
  • include/nix/fetchers/input-cache.hh
  • include/nix/fetchers/registry.hh
  • include/nix/fetchers/tarball.hh
  • include/nix/flake/flake.hh
  • include/nix/flake/flakeref.hh
  • include/nix/flake/lockfile.hh
  • include/nix/flake/settings.hh
  • include/nix/flake/url-name.hh
  • include/nix/lexer-tab.cc
  • include/nix/lexer-tab.hh
  • include/nix/main/common-args.hh
  • include/nix/main/loggers.hh
  • include/nix/main/plugin.hh
  • include/nix/main/progress-bar.hh
  • include/nix/main/shared.hh
  • include/nix/parser-tab.cc
  • include/nix/parser-tab.hh
  • include/nix/store/aws-creds.hh
  • include/nix/store/binary-cache-store.hh
  • include/nix/store/build-result.hh
  • include/nix/store/build/child.hh
  • include/nix/store/build/derivation-builder.hh
  • include/nix/store/build/derivation-building-goal.hh
  • include/nix/store/build/derivation-building-misc.hh
  • include/nix/store/build/derivation-env-desugar.hh
  • include/nix/store/build/derivation-goal.hh
  • include/nix/store/build/derivation-trampoline-goal.hh
  • include/nix/store/build/drv-output-substitution-goal.hh
  • include/nix/store/build/goal.hh

The first 100 are listed.

distinfo 3
FileSizeSHA256
NixOS-nix-2.32.4_GH0.tar.gz1.954164e+06b3a63dab4fc3c89a1a746c6debdef1675ed27530969459e5beb8ce6b3c0d9099
2636f50dd41fe357ec64430aeeb772328ab2d7cb.patch36666199fa6ac6731f6cd0a780e7629e30e94d29f726cf103e9ab1ad29592fc74535
342faaa1fa0aa3accc3027081b66c7c2ca36670b.patch1480b8365748355ecd43aa02e4c3628ef84eb8af77292364301ca71f523232cdc37f

Commit history 4

DateCommitCreditsLog message
97a84ef467 Dima Panov */*: update boost consumers after boost-1.92
0f39c330fc Baptiste Daroussin textproc/lowdown: Update to 3.2.1
213840c151 Dima Panov */*: bump consumers after devel/boost update
8c4bd1aace Baptiste Daroussin textproc/lowdown: update 3.0.1 -> 3.1.1