From f1c978aca02e92997e6da4011e89ba741a921f5a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 10 Aug 2018 21:45:07 +0200 Subject: [PATCH] Revert "aliases: add nixos-rebuild" This reverts commit 0b124c1e9152959cd9de9de46c4a4d9146a818e6. We should really stop adding things that are not packages to all-packages.nix. For example, having nixos-rebuild.nix in all-packages.nix causes 'nix-env -qa' to evaluate a NixOS configuration, which obviously is not good for performance. (We should probably also remove the 'nixos' attribute from all-packages.nix, but at least that's a function so nix-env will ignore it.) --- pkgs/top-level/aliases.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index d76e302df05a..ece6c03e168a 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -316,8 +316,6 @@ mapAliases ({ (import self.path { localSystem = { inherit system; }; }); callPackage_i686 = pkgsi686Linux.callPackage; - inherit (nixos {}) nixos-rebuild; - inherit (ocaml-ng) # added 2016-09-14 ocamlPackages_3_10_0 ocamlPackages_3_11_2 ocamlPackages_3_12_1 ocamlPackages_4_00_1 ocamlPackages_4_01_0 ocamlPackages_4_02