Skip to content

Commit 3d93f37

Browse files
authored
fix(nix): fix runtime error of runtime difftest ld (#62)
1 parent d857953 commit 3d93f37

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
21
out/
32
.direnv/
3+
.vscode/

flake.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@
7272
echo "- $(riscv64-unknown-linux-gnu-gcc --version | head -n 1)"
7373
echo "- $(java -version 2>&1 | head -n 1)"
7474
echo "You can press Ctrl + D to exit devshell."
75+
export LD_LIBRARY_PATH="${pkgs.zlib}/lib:${pkgs.stdenv.cc.cc.lib}/lib:$LD_LIBRARY_PATH"
76+
source $(pwd)/env.sh
7577
'';
7678
};
7779
};

0 commit comments

Comments
 (0)