4a7199a3da
c program allows executing commands in nb-bitcoind, nb-lnd, nb-liquidd (the netns's needed for operator cli scripts).
12 lines
186 B
Nix
12 lines
186 B
Nix
{ stdenv, pkgs }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "netns-exec";
|
|
buildInputs = [ pkgs.libcap ];
|
|
src = ./src;
|
|
installPhase = ''
|
|
mkdir -p $out
|
|
cp main $out/netns-exec
|
|
'';
|
|
}
|