pkgs/top-level/metrics.nix: turn off aliases in the evaluation
This mirrors `ci/eval` and also prevents many warnings from being logged.
This commit is contained in:
@@ -201,4 +201,11 @@ stdenvNoCC.mkDerivation {
|
||||
exit_status = "%x";
|
||||
command = "%C";
|
||||
};
|
||||
|
||||
# Don't allow aliases anywhere in Nixpkgs for the metrics.
|
||||
env.NIXPKGS_CONFIG = builtins.toFile "nixpkgs-config.nix" ''
|
||||
{
|
||||
allowAliases = false;
|
||||
}
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user