config.skipAliases -> config.allowAliases

This commit is contained in:
volth 2018-07-12 00:51:54 +00:00
parent 4bafaaff8a
commit 101df126bb
5 changed files with 5 additions and 6 deletions

View file

@ -130,7 +130,7 @@ let
transcrypt = callPackage ./transcrypt { };
} // lib.optionalAttrs (config.skipAliases or false == false) (with self; {
} // lib.optionalAttrs (config.allowAliases or true) (with self; {
# aliases
gitAnnex = git-annex;
svn_all_fast_export = svn-all-fast-export;

View file

@ -391,7 +391,7 @@ lib.makeScope pkgs.newScope (self: with self; {
gnome-packagekit = callPackage ./misc/gnome-packagekit { };
} // lib.optionalAttrs (config.skipAliases or false == false) {
} // lib.optionalAttrs (config.allowAliases or true) {
#### Legacy aliases
evolution_data_server = evolution-data-server; # added 2018-02-25

View file

@ -159,7 +159,7 @@ lib.makeScope pkgs.newScope (self: with self; {
xfce4_power_manager_gtk3 = xfce4-power-manager.override { withGtk3 = true; };
} // lib.optionalAttrs (config.skipAliases or false == false) {
} // lib.optionalAttrs (config.allowAliases or true) {
#### ALIASES - added 2018-01
terminal = xfce4-terminal;

View file

@ -3213,7 +3213,7 @@ let
};
} // lib.optionalAttrs (config.skipAliases or false == false) (with self; {
} // lib.optionalAttrs (config.allowAliases or true) (with self; {
# aliasess
airline = vim-airline;

View file

@ -97,8 +97,7 @@ let
res self;
in res;
aliases = self: super: if config.skipAliases or false then {}
else import ./aliases.nix lib self super;
aliases = self: super: lib.optionalAttrs (config.allowAliases or true) (import ./aliases.nix lib self super);
# stdenvOverrides is used to avoid having multiple of versions
# of certain dependencies that were used in bootstrapping the