Fix Nix flake build on Darwin (#117)
This commit is contained in:
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 = [
|
||||||
|
|||||||
Reference in New Issue
Block a user