This repo uses Nix flakes.
Install + run netprofiler_lite in one copy/paste (no repo clone):
command -v nix >/dev/null 2>&1 || {
sudo curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix \
| sh -s -- install --no-confirm
}
if [ -e /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh ]; then
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
elif [ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ]; then
. "$HOME/.nix-profile/etc/profile.d/nix.sh"
fi
nix run --accept-flake-config github:sfcompute/netprofiler_lite#benchInstall only:
sudo curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix \
| sh -s -- install --no-confirm
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.shThis repo sets nixConfig.extra-substituters.
Nix will prompt unless you pass --accept-flake-config or set:
accept-flake-config = true
Add that to ~/.config/nix/nix.conf or /etc/nix/nix.conf.
nix build --accept-flake-config
nix run --accept-flake-config .#bench
nix develop --accept-flake-config