- exprs.append(
- 'f: f { name = "%s"; channelName = "%s"; src = builtins.storePath "%s"; }' %
- (config[section]['release_name'], section, tarball))
+
+ exprs[section] = (
+ 'f: f { name = "%s"; channelName = "%%s"; src = builtins.storePath "%s"; }' %
+ (config[section]['release_name'], tarball))
+
+ for section in config.sections():
+ if 'alias_of' in config[section]:
+ exprs[section] = exprs[str(config[section]['alias_of'])]
+