ok/jj
1
0
Fork 0
forked from mirrors/jj

nix: use packaged foreign dependencies in dev shell

This commit is contained in:
Benjamin Saunders 2023-05-05 13:59:24 -07:00
parent 770ea0c705
commit 17be937e3d

View file

@ -102,9 +102,9 @@
# The CI checks against the latest nightly rustfmt, so we should too.
(rust-bin.selectLatestNightlyWith (toolchain: toolchain.rustfmt))
# Required build dependencies
openssl
pkg-config # to find openssl
# Foreign dependencies
openssl zstd libgit2 libssh2
pkg-config
# Additional tools recommended by contributing.md
cargo-deny
@ -112,6 +112,12 @@
cargo-nextest
cargo-watch
];
shellHook = ''
export RUST_BACKTRACE=1
export ZSTD_SYS_USE_PKG_CONFIG=1
export LIBSSH2_SYS_USE_PKG_CONFIG=1
'';
};
}));
}