Skip to content

Commit d23b358

Browse files
committed
fix: solve supportedFeatures not found in update.py
1 parent 3a6cc80 commit d23b358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maintainers/scripts/update/update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ async def updater(nixpkgs_root: str, temp_dir: Optional[Tuple[str, str]], merge_
158158
# A sentinel received, we are done.
159159
return
160160

161-
if not ('commit' in package['supportedFeatures'] or 'attrPath' in package):
161+
if not ('attrPath' in package or 'commit' in package['supportedFeatures']):
162162
temp_dir = None
163163

164164
await run_update_script(nixpkgs_root, merge_lock, temp_dir, package, keep_going)

0 commit comments

Comments
 (0)