From 71e29b42dfbf0eeb52099cfe8e7b92e09fb3ab6f Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Wed, 14 Oct 2015 10:49:52 +0200 Subject: [PATCH] Merge pull request #10384 from robbinch/fix-statd Fix typo in nixos/modules/tasks/filesystems/nfs.nix. (cherry picked from commit 78b2851724de10a2d6f9eae1301f14a449f29e6f) Close #10394. --- 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 79de6556f25..e454eca3a0e 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"; };