diff options
author | Robert Hensing <robert@roberthensing.nl> | 2022-04-01 11:33:10 +0200 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2022-04-01 11:33:10 +0200 |
commit | 200175a7011c0602c0a8e6d4c6583d9d577a03d1 (patch) | |
tree | 15ca935a6c86f3628507c28aa07463284cc09b4c /pkgs/top-level/stage.nix | |
parent | 3344cea254129714919142494ec3e9e75aa09891 (diff) |
config.allowAliases: Define as option
This simplifies usages and makes the default value consistent. In a few cases, the default value was interpreted to be `false`, but this is useless, because virtually nobody will explicitly set `allowAliases = true;`.
Diffstat (limited to 'pkgs/top-level/stage.nix')
-rw-r--r-- | pkgs/top-level/stage.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/top-level/stage.nix b/pkgs/top-level/stage.nix index 1945762c50dfd..422a7500516b3 100644 --- a/pkgs/top-level/stage.nix +++ b/pkgs/top-level/stage.nix @@ -152,7 +152,7 @@ let res self super; in res; - aliases = self: super: lib.optionalAttrs (config.allowAliases or true) (import ./aliases.nix lib self super); + aliases = self: super: lib.optionalAttrs config.allowAliases (import ./aliases.nix lib self super); # stdenvOverrides is used to avoid having multiple of versions # of certain dependencies that were used in bootstrapping the |