Skip to content

Commit bb951c8

Browse files
committed
chore(infra): added missing dependencies for darwin
1 parent a12e640 commit bb951c8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

flake.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
pkgs.gnum4
4949
pkgs.pkg-config
5050
pkgs.openssl
51-
];
51+
] ++ lib.optional (pkgs.stdenv.isDarwin) [pkgs.darwin.apple_sdk.frameworks.Security];
5252
};
5353
in {
5454
packages = {
@@ -63,10 +63,12 @@
6363
nativeBuildInputs = [
6464
pkgs.cargo
6565
pkgs.rustc
66+
pkgs.libiconv
6667
config.treefmt.package
6768
];
6869

6970
shellHook = ''
71+
export RUST_BACKTRACE=1
7072
ln -sf ${config.treefmt.build.configFile} treefmt.toml
7173
'';
7274
};

0 commit comments

Comments
 (0)