]> git.scottworley.com Git - pinch/blobdiff - pinch.py
Don't leave old channels laying around
[pinch] / pinch.py
index f95323f68edc611ead3c3e85de9ec814dc785e09..332d13088f301a4cca91313c80b974a97063d508 100644 (file)
--- a/pinch.py
+++ b/pinch.py
@@ -678,6 +678,7 @@ def updateCommand(args: argparse.Namespace) -> None:
         '--file',
         '<nix/unpack-channel.nix>',
         '--install',
+        '--remove-all',
     ] + search_paths + ['--from-expression'] + [
         exprs[name] % name for name in sorted(exprs.keys())]
     if args.dry_run: