diff options
author | Cole Helbling <cole.e.helbling@outlook.com> | 2021-02-06 19:39:40 -0800 |
---|---|---|
committer | Cole Helbling <cole.e.helbling@outlook.com> | 2021-02-06 19:44:30 -0800 |
commit | afbeed62bb22ef8abec72c7ae1db5d6593f62357 (patch) | |
tree | bb2e1b807dc669e23140b5f23b0f05e2f6870f33 /pkgs/stdenv | |
parent | 06e13dda74da8c6b159ce9dc7138f8dceaacd021 (diff) |
stdenv/generic: allowAliases should default to false if unset
Mostly because config.allowAliases doesn't exist unless it's set.
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r-- | pkgs/stdenv/generic/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/stdenv/generic/default.nix b/pkgs/stdenv/generic/default.nix index 6203e8a87081d..a971f204a47cf 100644 --- a/pkgs/stdenv/generic/default.nix +++ b/pkgs/stdenv/generic/default.nix @@ -153,7 +153,7 @@ let }) mkDerivation; # Slated for deprecation in 21.11 - lib = if config.allowAliases then builtins.trace + lib = if config.allowAliases or false then builtins.trace ( "Warning: `stdenv.lib` is deprecated and will be removed in the next release." + " Please use `pkgs.lib` instead." + " For more information see https://github.com/NixOS/nixpkgs/issues/108938") |