Merge #45636: nix-repl: throw an explanation

This commit is contained in:
Vladimír Čunát 2018-08-30 10:18:22 +02:00
commit 88e4ac7a97
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -21665,6 +21665,14 @@ with pkgs;
nix-top = callPackage ../tools/package-management/nix-top { };
nix-repl = throw (
"nix-repl has been removed because it's not maintained anymore, " +
(lib.optionalString (! lib.versionAtLeast "2" (lib.versions.major builtins.nixVersion))
"ugrade your Nix installation to a newer version and ") +
"use `nix repl` instead. " +
"Also see https://github.com/NixOS/nixpkgs/pull/44903"
);
nix-review = callPackage ../tools/package-management/nix-review { };
nix-serve = callPackage ../tools/package-management/nix-serve { };