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

12 lines
186 B
Nix
Raw Normal View History

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