Skip to content

Commit 3ef2ce4

Browse files
committed
Add fix_gdal
1 parent 72a9e0a commit 3ef2ce4

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.binder/.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
*
2+
!*.toml
3+
!*.yml
4+
!apt.txt
5+
!*.sh
6+
!Dockerfile
7+
!.gitignore

.binder/fix_gdal.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/bash
2+
3+
# Fixes version incompatibility in quarto with JuliaCall
4+
# see https://github.com/katrinabrock/juli-slipRs
5+
6+
mkdir /root/.local
7+
ln -s /usr/lib/x86_64-linux-gnu /root/.local/lib
8+
9+
cat <<EOF >/root/.julia/artifacts/Overrides.toml
10+
[a7073274-a066-55f0-b90d-d619367d196c]
11+
GDAL = "/root/.local"
12+
13+
[02c8fc9c-b97f-50b9-bbe4-9be30ff0a78a]
14+
XML2 = "/root/.local"
15+
EOF

0 commit comments

Comments
 (0)