Fix Nix flake build on Darwin (#117)

This commit is contained in:
satoqz 2023-06-07 22:26:17 +02:00 committed by Ulyssa
parent 1a0af6df37
commit 758397eb5a
No known key found for this signature in database
GPG key ID: 1B3965A3D18B9B64
2 changed files with 4 additions and 2 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
/target
/result
/TODO
/docs/iamb.[15]

View file

@ -23,8 +23,9 @@
version = "0.0.7";
src = ./.;
cargoLock.lockFile = ./Cargo.lock;
nativeBuildInputs = [ pkgs.openssl pkgs.pkgconfig ];
buildInputs = [ pkgs.openssl ];
nativeBuildInputs = [ pkgs.pkgconfig ];
buildInputs = [ pkgs.openssl ] ++ pkgs.lib.optionals pkgs.stdenv.isDarwin
(with pkgs.darwin.apple_sdk.frameworks; [ AppKit Security ]);
};
devShell = mkShell {
buildInputs = [