nftables: Set meta.mainProgram to "nft"

The nftables package only has one binary, and this enables running it through
`nix run nixpkgs#nftables`.
This commit is contained in:
Archit Gupta 2022-11-06 11:36:43 -08:00
parent 84510146d4
commit 58244a7189

View file

@ -43,5 +43,6 @@ stdenv.mkDerivation rec {
license = licenses.gpl2Only;
platforms = platforms.linux;
maintainers = with maintainers; [ izorkin ajs124 ];
mainProgram = "nft";
};
}