aboutsummaryrefslogtreecommitdiff
path: root/pkgs/top-level/stage.nix
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-04-29 17:47:57 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2018-05-01 13:54:08 -0500
commitffe4b64205debbbdbc087277c4c8615c1591ac59 (patch)
treefb0fa483cf8a2a971d09cc0cc213594a02aa064b /pkgs/top-level/stage.nix
parent9d7c57afc4ed9b73c8dfcc09caf503ed9513fde1 (diff)
aliases: add skip aliases config
You can turn on this config option if you want to find references to aliases in Nixpkgs. Ideally these can be removed from Nixpkgs and eventually we can remove the alias altogether.
Diffstat (limited to 'pkgs/top-level/stage.nix')
-rw-r--r--pkgs/top-level/stage.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/top-level/stage.nix b/pkgs/top-level/stage.nix
index de676c5a4210..e38f5442d3aa 100644
--- a/pkgs/top-level/stage.nix
+++ b/pkgs/top-level/stage.nix
@@ -97,7 +97,8 @@ let
res self;
in res;
- aliases = self: super: import ./aliases.nix super;
+ aliases = self: super: if config.skipAliases or false then {}
+ else import ./aliases.nix super;
# stdenvOverrides is used to avoid having multiple of versions
# of certain dependencies that were used in bootstrapping the