Skip to content

Commit d9a5888

Browse files
committed
fix: update mount dir for opam
1 parent 7f1e5f0 commit d9a5888

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jd4/_sandbox.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ def enter_namespace(root_dir, in_dir, out_dir):
6363
bind_or_link('/usr/libexec', 'usr/libexec')
6464
bind_or_link('/usr/share', 'usr/share')
6565
bind_or_link('/usr/local', 'usr/local', True)
66+
bind_or_link('/root/.opam', '.opam', True)
6667
bind_or_link('/var/lib/ghc', 'var/lib/ghc')
6768
bind_mount(in_dir, 'in', True, False, True, False)
6869
bind_mount(out_dir, 'out', True, False, True, False)
6970
bind_mount('/root/.matlab', '.matlab', True, False, True, True, True)
70-
bind_mount('/root/.opam', '.opam', True, False, True, True, True)
7171
write_text_file('etc/passwd', 'icebox:x:1000:1000:icebox:/:/bin/bash\n')
7272
mkdir('old_root')
7373
pivot_root('.', 'old_root')

0 commit comments

Comments
 (0)