mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
bash: change shell script option types from string to lines
installation-cd-base: export mountPoint=/mnt. This doesn't change the default behavior, but an explicit mount point specification is cleaner.
This commit is contained in:
parent
d97ea69a81
commit
2fcd1195e6
@ -32,4 +32,6 @@ with pkgs.lib;
|
|||||||
# To speed up installation a little bit, include the complete stdenv
|
# To speed up installation a little bit, include the complete stdenv
|
||||||
# in the Nix store on the CD.
|
# in the Nix store on the CD.
|
||||||
isoImage.storeContents = [ pkgs.stdenv pkgs.busybox ];
|
isoImage.storeContents = [ pkgs.stdenv pkgs.busybox ];
|
||||||
|
|
||||||
|
environment.shellInit = "export mountPoint=/mnt";
|
||||||
}
|
}
|
||||||
|
@ -46,7 +46,7 @@ let
|
|||||||
description = ''
|
description = ''
|
||||||
Shell script code used to initialise the shell prompt.
|
Shell script code used to initialise the shell prompt.
|
||||||
'';
|
'';
|
||||||
type = with pkgs.lib.types; string;
|
type = with pkgs.lib.types; lines;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.shellInit = mkOption {
|
environment.shellInit = mkOption {
|
||||||
@ -55,7 +55,7 @@ let
|
|||||||
description = ''
|
description = ''
|
||||||
Shell script code called during login shell initialisation.
|
Shell script code called during login shell initialisation.
|
||||||
'';
|
'';
|
||||||
type = with pkgs.lib.types; string;
|
type = with pkgs.lib.types; lines;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.interactiveShellInit = mkOption {
|
environment.interactiveShellInit = mkOption {
|
||||||
@ -64,7 +64,7 @@ let
|
|||||||
description = ''
|
description = ''
|
||||||
Shell script code called during interactive shell initialisation.
|
Shell script code called during interactive shell initialisation.
|
||||||
'';
|
'';
|
||||||
type = with pkgs.lib.types; string;
|
type = with pkgs.lib.types; lines;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.enableBashCompletion = mkOption {
|
environment.enableBashCompletion = mkOption {
|
||||||
|
Loading…
Reference in New Issue
Block a user