Skip to content

Commit

Permalink
chore(infra): added missing dependencies for darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmain committed Mar 17, 2023
1 parent a12e640 commit bb951c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion flake.nix
Expand Up @@ -48,7 +48,7 @@
pkgs.gnum4
pkgs.pkg-config
pkgs.openssl
];
] ++ lib.optional (pkgs.stdenv.isDarwin) [pkgs.darwin.apple_sdk.frameworks.Security];
};
in {
packages = {
Expand All @@ -63,10 +63,12 @@
nativeBuildInputs = [
pkgs.cargo
pkgs.rustc
pkgs.libiconv
config.treefmt.package
];

shellHook = ''
export RUST_BACKTRACE=1
ln -sf ${config.treefmt.build.configFile} treefmt.toml
'';
};
Expand Down

0 comments on commit bb951c8

Please sign in to comment.