mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
"with pkgs.lib.types; X" -> types.X
This commit is contained in:
parent
ec9ae91205
commit
b22e735d2b
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
<literal>/bin/sh</literal>. Please note that NixOS assumes all
|
||||
|
|
Loading…
Reference in a new issue