We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2517023 commit 171d4f6Copy full SHA for 171d4f6
.envrc
@@ -1,4 +1,4 @@
1
-use shell
+use nix
2
3
toolchain_path="./.cargo/rust-toolchain.toml"
4
if rg -q "nightly" "$toolchain_path"; then
shell.nix
@@ -2,10 +2,17 @@
pkgs.mkShell {
buildInputs = with pkgs; [
5
+ openssl
6
openssl.dev
7
+ patchelf
8
];
9
nativeBuildInputs = with pkgs; [
10
+ openssl.dev
11
pkg-config
12
13
+ PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
14
+ #wtf, nix
15
+ shellHook = ''
16
+ patchelf --set-rpath ${pkgs.openssl.out}/lib target/debug/v_exchanges
17
+ '';
18
}
-
0 commit comments