mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
17 lines
303 B
Nix
17 lines
303 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
machine =
|
|
{ config, pkgs, ... }:
|
|
|
|
{ services.portmap.enable = true; };
|
|
|
|
testScript =
|
|
''
|
|
# The `portmap' service must be registered once for TCP and once for
|
|
# UDP.
|
|
$machine->succeed("test `rpcinfo -p | grep portmapper | wc -l` -eq 2");
|
|
'';
|
|
|
|
}
|