mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
nix: shell: inherit inputs from noita-proxy
This commit is contained in:
parent
be993008c3
commit
46a3673749
1 changed files with 9 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue