From b22e735d2b2adc302854004f17d80ff83823a9e3 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 15 Aug 2013 13:21:49 +0200 Subject: [PATCH] "with pkgs.lib.types; X" -> types.X --- modules/programs/bash/bash.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/programs/bash/bash.nix b/modules/programs/bash/bash.nix index a41a588a4747..b23d004e5326 100644 --- a/modules/programs/bash/bash.nix +++ b/modules/programs/bash/bash.nix @@ -46,7 +46,7 @@ let description = '' Shell script code used to initialise the shell prompt. ''; - type = with pkgs.lib.types; lines; + type = types.lines; }; environment.shellInit = mkOption { @@ -55,7 +55,7 @@ let description = '' Shell script code called during login shell initialisation. ''; - type = with pkgs.lib.types; lines; + type = types.lines; }; environment.interactiveShellInit = mkOption { @@ -64,19 +64,19 @@ let description = '' Shell script code called during interactive shell initialisation. ''; - type = with pkgs.lib.types; lines; + type = types.lines; }; environment.enableBashCompletion = mkOption { default = false; description = "Enable Bash completion for all interactive shells."; - type = with pkgs.lib.types; bool; + type = types.bool; }; environment.binsh = mkOption { default = "${config.system.build.binsh}/bin/sh"; example = "\${pkgs.dash}/bin/dash"; - type = with pkgs.lib.types; path; + type = types.path; description = '' Select the shell executable that is linked system-wide to /bin/sh. Please note that NixOS assumes all