mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-05 20:11:43 +03:00
switched all mergeOptionString to pkgs.lib.types.string
pierron recommended the use of types.string over mergeOptionString, as it is superior but might break things. For my system the change evaluated to the exactly same. svn path=/nixos/trunk/; revision=31138
This commit is contained in:
parent
3ebc7727f7
commit
eb755d4692
@ -15,7 +15,7 @@ let
|
||||
description = "
|
||||
Script used to initialized user shell environments.
|
||||
";
|
||||
merge = mergeStringOption;
|
||||
type = with pkgs.lib.types; string;
|
||||
};
|
||||
|
||||
};
|
||||
|
@ -170,7 +170,7 @@ in
|
||||
example = ''
|
||||
KERNEL=="eth*", ATTR{address}=="00:1D:60:B9:6D:4F", NAME="my_fast_network_card"
|
||||
'';
|
||||
merge = mergeStringOption;
|
||||
type = with pkgs.lib.types; string;
|
||||
description = ''
|
||||
Additional <command>udev</command> rules. They'll be written
|
||||
into file <filename>10-local.rules</filename>. Thus they are
|
||||
|
@ -171,7 +171,7 @@ in
|
||||
envVars = mkOption {
|
||||
internal = true;
|
||||
default = "";
|
||||
merge = mergeStringOption;
|
||||
type = with pkgs.lib.types; string;
|
||||
description = "
|
||||
Environment variables used by Nix.
|
||||
";
|
||||
|
@ -37,7 +37,7 @@ let
|
||||
|
||||
boot.initrd.preLVMCommands = mkOption {
|
||||
default = "";
|
||||
merge = mergeStringOption;
|
||||
type = with types; string;
|
||||
description = ''
|
||||
Shell commands to be executed immediately before lvm discovery.
|
||||
'';
|
||||
@ -45,7 +45,7 @@ let
|
||||
|
||||
boot.initrd.postDeviceCommands = mkOption {
|
||||
default = "";
|
||||
merge = mergeStringOption;
|
||||
type = with types; string;
|
||||
description = ''
|
||||
Shell commands to be executed immediately after stage 1 of the
|
||||
boot has loaded kernel modules and created device nodes in
|
||||
@ -55,7 +55,7 @@ let
|
||||
|
||||
boot.initrd.postMountCommands = mkOption {
|
||||
default = "";
|
||||
merge = mergeStringOption;
|
||||
type = with types; string;
|
||||
description = ''
|
||||
Shell commands to be executed immediately after the stage 1
|
||||
filesystems have been mounted.
|
||||
@ -65,7 +65,7 @@ let
|
||||
boot.initrd.extraUtilsCommands = mkOption {
|
||||
internal = true;
|
||||
default = "";
|
||||
merge = mergeStringOption;
|
||||
type = with types; string;
|
||||
description = ''
|
||||
Shell commands to be executed in the builder of the
|
||||
extra-utils derivation. This can be used to provide
|
||||
@ -76,7 +76,7 @@ let
|
||||
boot.initrd.extraUtilsCommandsTest = mkOption {
|
||||
internal = true;
|
||||
default = "";
|
||||
merge = mergeStringOption;
|
||||
type = with types; string;
|
||||
description = ''
|
||||
Shell commands to be executed in the builder of the
|
||||
extra-utils derivation after patchelf has done its
|
||||
|
@ -8,7 +8,7 @@ let
|
||||
postBootCommands = pkgs.lib.mkOption {
|
||||
default = "";
|
||||
example = "rm -f /var/log/messages";
|
||||
merge = pkgs.lib.mergeStringOption;
|
||||
type = with pkgs.lib.types; string;
|
||||
description = ''
|
||||
Shell commands to be executed just before Upstart is started.
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user