mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-04-19 00:38:54 +00:00
Special build inputs for darwin
This commit is contained in:
parent
ed440d0a69
commit
c61c7155a1
1 changed files with 5 additions and 1 deletions
|
@ -34,7 +34,11 @@
|
|||
|
||||
# `nix develop`
|
||||
devShell = pkgs.mkShell {
|
||||
nativeBuildInputs = with pkgs; [ rustc cargo ];
|
||||
nativeBuildInputs = (with pkgs; [ rustc cargo ]) ++
|
||||
nixpkgs.lib.optionals (nixpkgs.lib.strings.hasSuffix "darwin" system) (with pkgs; [
|
||||
libiconv
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
]);
|
||||
};
|
||||
|
||||
# module
|
||||
|
|
Loading…
Add table
Reference in a new issue