mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-16 05:41:16 +01:00
feat(nix): OpenSSL for the host build script in the devshell
komorebic's build script (reqwest) runs on the build host and needs pkg-config and OpenSSL, as in the nix build, so cargo test --workspace works from nix develop.
This commit is contained in:
1 parent
345ddf30ea
commit
725c95ffc2
1 file changed
+10
@@ -486,6 +486,12 @@
|
||||
|
||||
RUST_BACKTRACE = "full";
|
||||
|
||||
# komorebic's build script runs on the host and wants OpenSSL, as in
|
||||
# the nix build
|
||||
OPENSSL_NO_VENDOR = "1";
|
||||
OPENSSL_LIB_DIR = "${pkgs.openssl.out}/lib";
|
||||
OPENSSL_INCLUDE_DIR = "${pkgs.openssl.dev}/include";
|
||||
|
||||
# the Windows e2e guest (e2e/platforms/qemu_windows): the build
|
||||
# scripts and the runner find OVMF here, and the vendored core
|
||||
# and the platform on PYTHONPATH
|
||||
@@ -515,6 +521,10 @@
|
||||
pkgs.llvmPackages.lld # provides lld-link
|
||||
pkgs.llvmPackages.llvm # provides llvm-lib
|
||||
|
||||
# komorebic's build script (reqwest) runs on the build host
|
||||
pkgs.pkg-config
|
||||
pkgs.openssl
|
||||
|
||||
pkgs.cargo-deny
|
||||
pkgs.cargo-nextest
|
||||
pkgs.cargo-outdated
|
||||
|
||||
Reference in new issue
Block a user