nix-bitcoin/pkgs/netns-exec/default.nix

11 lines
159 B
Nix

{ stdenv, pkgs }:
stdenv.mkDerivation {
name = "netns-exec";
buildInputs = [ pkgs.libcap ];
src = ./src;
installPhase = ''
cp main "$out"
'';
}