diff options
author | Robert Hensing <robert@roberthensing.nl> | 2019-02-03 18:22:22 +0700 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2019-02-03 18:22:22 +0700 |
commit | 055ac8e4955294a3ecf6663628d892a486bba06d (patch) | |
tree | cb938faaeb68152ec13d7e6dfd7599d58bb147dc /pkgs/top-level/stage.nix | |
parent | bd0bb9e4976eb69425ca8effc260bfe1bd47a7fc (diff) | |
download | nixpkgs-055ac8e4955294a3ecf6663628d892a486bba06d.tar nixpkgs-055ac8e4955294a3ecf6663628d892a486bba06d.tar.gz nixpkgs-055ac8e4955294a3ecf6663628d892a486bba06d.tar.bz2 nixpkgs-055ac8e4955294a3ecf6663628d892a486bba06d.tar.lz nixpkgs-055ac8e4955294a3ecf6663628d892a486bba06d.tar.xz nixpkgs-055ac8e4955294a3ecf6663628d892a486bba06d.tar.zst nixpkgs-055ac8e4955294a3ecf6663628d892a486bba06d.zip |
Partially revert 755e824
Reinstates the error message that helps migration of forks. Same should be done for super *if* it is to be removed.
Diffstat (limited to 'pkgs/top-level/stage.nix')
-rw-r--r-- | pkgs/top-level/stage.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/top-level/stage.nix b/pkgs/top-level/stage.nix index 0991c9138bd..6ca370e0b9b 100644 --- a/pkgs/top-level/stage.nix +++ b/pkgs/top-level/stage.nix @@ -89,7 +89,10 @@ let splice = self: super: import ./splice.nix lib self (buildPackages != null); allPackages = self: super: - import ./all-packages.nix { inherit lib noSysDirs config; } self; + let res = import ./all-packages.nix + { inherit lib noSysDirs config; } + res self super; + in res; aliases = self: super: lib.optionalAttrs (config.allowAliases or true) (import ./aliases.nix lib self super); |