assert 'git_repo' not in config[section]
continue
+ if 'git_repo' not in config[section] or 'release_name' not in config[section]:
+ raise Exception(
+ 'Cannot update unpinned channel "%s" (Run "pin" before "update")' %
+ section)
+
if 'channel_url' in config[section]:
tarball = fetch_with_nix_prefetch_url(
v, config[section]['tarball_url'], Digest16(