fix(dev): add necessary deps for rust on darwin
This commit is contained in:
parent
c887677560
commit
faa11b525a
@ -1,5 +1,10 @@
|
||||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs;
|
||||
[
|
||||
# devenv
|
||||
unstable.devenv
|
||||
# Javascript
|
||||
@ -21,7 +26,15 @@
|
||||
})
|
||||
pkg-config
|
||||
openssl
|
||||
];
|
||||
]
|
||||
++ lib.optionals pkgs.stdenv.isDarwin (with pkgs.darwin.apple_sdk.frameworks; [
|
||||
CoreFoundation
|
||||
CoreServices
|
||||
SystemConfiguration
|
||||
]);
|
||||
|
||||
# Required for the `openssl-sys` crate to build properly
|
||||
home.sessionVariables.PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
|
||||
|
||||
programs.zsh.initExtra = ''
|
||||
export PATH=~/.npm-packages/bin:$PATH
|
||||
|
Loading…
x
Reference in New Issue
Block a user