Skip to content

Commit 02bdd2b

Browse files
committed
chore: add devbox integration
1 parent b351426 commit 02bdd2b

File tree

3 files changed

+488
-0
lines changed

3 files changed

+488
-0
lines changed

.envrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
# Automatically sets up your devbox environment whenever you cd into this
4+
# directory via our direnv integration:
5+
6+
eval "$(devbox generate direnv --print-envrc)"
7+
8+
# check out https://www.jetpack.io/devbox/docs/ide_configuration/direnv/
9+
# for more details

devbox.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.13.7/.schema/devbox.schema.json",
3+
"packages": {
4+
"gcc": "14.2",
5+
"pkg-config": "0.29.2",
6+
"icdiff": "latest",
7+
"stack": "latest",
8+
"cabal-install": "latest",
9+
"zlib": {
10+
"version": "latest",
11+
"outputs": ["out", "dev"]
12+
},
13+
"hpack": "latest"
14+
},
15+
"env": {
16+
"LD_LIBRARY_PATH": "$DEVBOX_PACKAGES_DIR/lib:$LD_LIBRARY_PATH"
17+
},
18+
"shell": {
19+
"init_hook": [
20+
"echo 'Welcome to devbox!' > /dev/null"
21+
],
22+
"scripts": {
23+
"test": [
24+
"echo \"Error: no test specified\" && exit 1"
25+
]
26+
}
27+
}
28+
}

0 commit comments

Comments
 (0)