Skip to content

Commit 57755eb

Browse files
committed
Problem: couldn't build omni_vfs_types_v1
Solution: ensure its unique circumstances are addressed
1 parent 37c8878 commit 57755eb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/omnigres/omni_vfs_types_v1.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ def summary
88
"Virtual File System API"
99
end
1010

11+
def requires
12+
# FIXME: this handles the special case of this extension being in
13+
# the same folder as omni_vfs.
14+
# In order to configure it, all dependencies of omni_vfs, save for omni_vfs_types_v1,
15+
# must be included.
16+
Pgpm::Package["omnigres/omni_vfs"][:latest].requires.reject { |p| p.name == name }
17+
end
18+
1119
def native?
1220
# This extension shares the directory with `omni_vfs` which has .c files,
1321
# but it is not a native-code extension itself.

0 commit comments

Comments
 (0)