Nix build suite for a rust + dpdk toolchain.
-
nixSingle user
nix(which I recommend) can be installed with:sudo mkdir -m 0755 -p /nix sudo chown "$(id -u):$(id -g)" /nix sh <(curl -L https://nixos.org/nix/install) --no-daemon
-
docker- Install
dockervia a package manager. - The user you are running the build as needs to be in the
dockergroup (or be root).
- Install
-
bashor some other POSIX shell (with `set -euo pipefail`)Whatever implementation of
shyou have is fine so long as it supportsset -e(exit on error)set -u(exit on undefined variable)set -o pipefail(exit on error in a pipeline)
You very likely already have
bashorbusyboxwhich supports these flags.Unfortunately,
shas it exists in CI does not support these flags, so we need to specifybashin thejustfile¯_(ツ)_/¯