mirror of
https://github.com/youwen5/iamb.git
synced 2025-06-20 05:39:52 -07:00
Fix Nix flake build on Darwin (#117)
This commit is contained in:
parent
1a0af6df37
commit
758397eb5a
2 changed files with 4 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
||||||
/target
|
/target
|
||||||
|
/result
|
||||||
/TODO
|
/TODO
|
||||||
/docs/iamb.[15]
|
/docs/iamb.[15]
|
||||||
|
|
|
@ -23,8 +23,9 @@
|
||||||
version = "0.0.7";
|
version = "0.0.7";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
cargoLock.lockFile = ./Cargo.lock;
|
cargoLock.lockFile = ./Cargo.lock;
|
||||||
nativeBuildInputs = [ pkgs.openssl pkgs.pkgconfig ];
|
nativeBuildInputs = [ pkgs.pkgconfig ];
|
||||||
buildInputs = [ pkgs.openssl ];
|
buildInputs = [ pkgs.openssl ] ++ pkgs.lib.optionals pkgs.stdenv.isDarwin
|
||||||
|
(with pkgs.darwin.apple_sdk.frameworks; [ AppKit Security ]);
|
||||||
};
|
};
|
||||||
devShell = mkShell {
|
devShell = mkShell {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue