From 528ebb4e5e0d9c42eea8d9b07655dff9c6966b1d Mon Sep 17 00:00:00 2001 From: Robbin C Date: Wed, 14 Oct 2015 08:48:34 +0800 Subject: [PATCH] Fix typo in nixos/modules/tasks/filesystems/nfs.nix. statd should be cfg.statd. --- nixos/modules/tasks/filesystems/nfs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/tasks/filesystems/nfs.nix b/nixos/modules/tasks/filesystems/nfs.nix index 79de6556f251..e454eca3a0e5 100644 --- a/nixos/modules/tasks/filesystems/nfs.nix +++ b/nixos/modules/tasks/filesystems/nfs.nix @@ -90,7 +90,7 @@ in serviceConfig.Type = "forking"; serviceConfig.ExecStart = '' @${pkgs.nfs-utils}/sbin/rpc.statd rpc.statd --no-notify \ - ${if cfg.statdPort != null then "-p ${toString statdPort}" else ""} + ${if cfg.statdPort != null then "-p ${toString cfg.statdPort}" else ""} ''; serviceConfig.Restart = "always"; };