stdenv/generic: allowAliases should default to false if unset
Mostly because config.allowAliases doesn't exist unless it's set.
This commit is contained in:
parent
06e13dda74
commit
afbeed62bb
@ -153,7 +153,7 @@ let
|
|||||||
}) mkDerivation;
|
}) mkDerivation;
|
||||||
|
|
||||||
# Slated for deprecation in 21.11
|
# 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."
|
( "Warning: `stdenv.lib` is deprecated and will be removed in the next release."
|
||||||
+ " Please use `pkgs.lib` instead."
|
+ " Please use `pkgs.lib` instead."
|
||||||
+ " For more information see https://github.com/NixOS/nixpkgs/issues/108938")
|
+ " For more information see https://github.com/NixOS/nixpkgs/issues/108938")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user