nix: shell: inherit inputs from noita-proxy

This commit is contained in:
Jacob Birkett 2025-09-30 18:02:55 -07:00 committed by IQuant
parent be993008c3
commit 46a3673749

View file

@ -1,7 +1,9 @@
{ rust-bin, mkShell }:
{ rust-bin, mkShell, noita-proxy }:
mkShell {
strictDeps = true;
inputsFrom = [ noita-proxy ];
packages = [
# Derivations in `rust-stable` provide the toolchain,
# must be listed first to take precedence over nightly.
@ -15,4 +17,10 @@ mkShell {
extensions = [ "rustfmt" "rust-analyzer" ];
}))
];
env = {
inherit (noita-proxy) OPENSSL_DIR OPENSSL_LIB_DIR OPENSSL_NO_VENDOR;
RUST_BACKTRACE = 1;
};
}