-
-
Notifications
You must be signed in to change notification settings - Fork 90
Expand file tree
/
Copy pathworkbench
More file actions
executable file
·26 lines (19 loc) · 1018 Bytes
/
workbench
File metadata and controls
executable file
·26 lines (19 loc) · 1018 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
# export G_MESSAGES_DEBUG=@app_id@
# Required to allow pkgconfig to find pc files in /app/lib/pkgconfig
export PKG_CONFIG_PATH=/app/lib/pkgconfig/:$PKG_CONFIG_PATH
source /usr/lib/sdk/rust-stable/enable.sh 2> /dev/null
source /usr/lib/sdk/vala/enable.sh 2> /dev/null
source /usr/lib/sdk/llvm21/enable.sh 2> /dev/null
source /usr/lib/sdk/node24/enable.sh 2> /dev/null
## enabling the typescript extension
export PATH=$PATH:/usr/lib/sdk/typescript/bin
# TODO: Figure out how to use gcc with mold so we can drop llvm
export CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=clang
export CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS="-C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold"
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=clang
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS="-C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold"
# We do not support translations but the AboutWindow is translated by default
LANG=en_US.UTF-8
mkdir -p $XDG_RUNTIME_DIR/$FLATPAK_ID
@command@