From fecd4bc368de258158fa71edd9bf0645fb457dbb Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Thu, 1 Dec 2016 23:56:20 +0100 Subject: improve launchd activation scripts --- modules/system/write-text.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'modules/system') diff --git a/modules/system/write-text.nix b/modules/system/write-text.nix index 1fc97dd..4ffc081 100644 --- a/modules/system/write-text.nix +++ b/modules/system/write-text.nix @@ -1,8 +1,9 @@ { lib, mkTextDerivation }: +{ config, name, ... }: + with lib; -{ config, name, ... }: let sourceDrv = mkTextDerivation name config.text; @@ -16,8 +17,8 @@ in type = types.bool; default = true; description = '' - Whether this /etc file should be generated. This - option allows specific /etc files to be disabled. + Whether this file should be generated. + This option allows specific files to be disabled. ''; }; @@ -33,9 +34,7 @@ in type = types.str; default = name; description = '' - Name of symlink (relative to - /etc). Defaults to the attribute - name. + Name of symlink. Defaults to the attribute name. ''; }; -- cgit v1.2.3