Skip to content

Commit

Permalink
fix unittest workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Jul 21, 2023
1 parent 733612c commit 6bcf212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
export PKG_CONFIG_PATH=$HOME/.nix-profile/lib/pkgconfig
export CGO_CFLAGS="$(pkg-config --cflags rocksdb)" CGO_LDFLAGS="$(pkg-config --libs rocksdb)"
export LD_LIBRARY_PATH=$HOME/.nix-profile/lib
export GLIBC="$(nix build nixpkgs#stdenv.cc.libc.out --no-link --print-out-paths)"
export GLIBC="$(nix build -f ./nix stdenv.cc.libc.out --no-link --print-out-paths)"
export CGO_LDFLAGS="$CGO_LDFLAGS -Wl,--dynamic-linker=$GLIBC/lib/ld-linux-x86-64.so.2"
echo $CGO_LDFLAGS
cd ./versiondb
Expand Down

0 comments on commit 6bcf212

Please sign in to comment.