Throw warning for nix-repl attribute
This commit is contained in:
parent
490ca6aa8a
commit
99e663d4e1
@ -21419,6 +21419,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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user