aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-06-04 11:14:19 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-06-04 11:14:19 +0200
commit0f44b60e6dc999697bf9f2a4b3652a0551016598 (patch)
treebce14b1fde0610fe36dd8c3c6e75e26dcb25135c /src/nix
parent61e3d598b67290ca66f34fcac7b7373f506240da (diff)
Make 'nix dev-shell' a deprecated alias for 'nix develop'
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/main.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nix/main.cc b/src/nix/main.cc
index ef301580a..1120ba5ef 100644
--- a/src/nix/main.cc
+++ b/src/nix/main.cc
@@ -110,6 +110,8 @@ struct NixArgs : virtual MultiCommand, virtual MixCommonArgs
.description = "consider all previously downloaded files out-of-date",
.handler = {[&]() { refresh = true; }},
});
+
+ deprecatedAliases.insert({"dev-shell", "develop"});
}
void printFlags(std::ostream & out) override