3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/lib/tests/modules
(cdep)illabout 81fa1e392b lib/modules: Change mkAliasOptionModule to use the priority for the alias.
This commit changes the `mkAliasOptionModule` function to make sure that
the priority for the aliased option is propagated to the non-aliased
option.

This also affects the `mkRenamedOptionModule` function in a similar
fashion.

This also removes the `mkAliasOptionModuleWithPriority` function, since
its functionality is now subsumed by `mkAliasOptionModule`.

This change was recommended by @nbp:
https://github.com/NixOS/nixpkgs/pull/53397#discussion_r245487432
2019-01-24 13:02:16 +09:00
..
alias-with-priority-can-override.nix lib/modules: Change mkAliasOptionModule to use the priority for the alias. 2019-01-24 13:02:16 +09:00
alias-with-priority.nix lib/modules: Change mkAliasOptionModule to use the priority for the alias. 2019-01-24 13:02:16 +09:00
declare-coerced-value-unsound.nix
declare-coerced-value.nix
declare-enable.nix
declare-int-between-value.nix
declare-int-positive-value.nix
declare-int-unsigned-value.nix
declare-loaOfSub-any-enable.nix
default.nix
define-_module-args-custom.nix
define-enable-force.nix
define-enable-with-custom-arg.nix
define-enable.nix
define-force-enable.nix
define-force-loaOfSub-foo-enable.nix
define-if-loaOfSub-foo-enable.nix
define-loaOfSub-bar-enable.nix
define-loaOfSub-bar.nix
define-loaOfSub-foo-enable-force.nix
define-loaOfSub-foo-enable-if.nix
define-loaOfSub-foo-enable.nix
define-loaOfSub-foo-force-enable.nix
define-loaOfSub-foo-if-enable.nix
define-loaOfSub-foo.nix
define-loaOfSub-force-foo-enable.nix
define-loaOfSub-if-foo-enable.nix
define-module-check.nix
define-value-int-negative.nix
define-value-int-positive.nix
define-value-int-zero.nix
define-value-list.nix
define-value-string-arbitrary.nix
define-value-string-bigint.nix
define-value-string.nix
disable-declare-enable.nix
disable-define-enable.nix
disable-enable-modules.nix
import-custom-arg.nix
loaOf-with-long-list.nix
loaOf-with-many-list-merges.nix