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/applications/editors/vscode | |
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/applications/editors/vscode')
-rw-r--r-- | pkgs/applications/editors/vscode/extensions/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index a5c8dcfb50f54..ab5250a48e686 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -2329,7 +2329,7 @@ let # then apply extension specific modifcations to packages. # overlays will be applied left to right, overrides should come after aliases. - overlays = lib.optionals (config.allowAliases or true) [ aliases ]; + overlays = lib.optionals config.allowAliases [ aliases ]; toFix = lib.foldl' (lib.flip lib.extends) baseExtensions overlays; in |