(config) flake.nix updated to fixing NixOS openssl issues
This commit is contained in:
parent
1ef79843e6
commit
0a45d6e139
2 changed files with 70 additions and 0 deletions
|
|
@ -13,7 +13,16 @@
|
|||
rustup
|
||||
cargo-watch
|
||||
sqlx-cli
|
||||
openssl
|
||||
|
||||
pkg-config # Помогает Cargo находить системные библиотеки
|
||||
zlib # Часто требуется для компиляции OpenSSL
|
||||
];
|
||||
shellHook = ''
|
||||
export OPENSSL_DIR="${pkgs.openssl.dev}"
|
||||
export OPENSSL_LIB_DIR="${pkgs.openssl.out}/lib"
|
||||
export PKG_CONFIG_PATH="${pkgs.openssl.dev}/lib/pkgconfig"
|
||||
'';
|
||||
};
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue