From bdcb818804ba66bd52bb089b4f8ad33b3f18ca51 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 3 May 2022 13:36:16 +0200 Subject: Replace "rm" call with "git rm" `git rm` should always be preferred over "normal" `rm`. Signed-off-by: Matthias Beyer --- doc/contributing/submitting-changes.chapter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/contributing/submitting-changes.chapter.md b/doc/contributing/submitting-changes.chapter.md index 109d051c016f..d428f00eea56 100644 --- a/doc/contributing/submitting-changes.chapter.md +++ b/doc/contributing/submitting-changes.chapter.md @@ -96,7 +96,7 @@ We use jbidwatcher as an example for a discontinued project here. 1. Have Nixpkgs checked out locally and up to date. 1. Create a new branch for your change, e.g. `git checkout -b jbidwatcher` -1. Remove the actual package including its directory, e.g. `rm -rf pkgs/applications/misc/jbidwatcher` +1. Remove the actual package including its directory, e.g. `git rm -rf pkgs/applications/misc/jbidwatcher` 1. Remove the package from the list of all packages (`pkgs/top-level/all-packages.nix`). 1. Add an alias for the package name in `pkgs/top-level/aliases.nix` (There is also `pkgs/applications/editors/vim/plugins/aliases.nix`. Package sets typically do not have aliases, so we can't add them there.) -- cgit v1.2.3