]> Repositorios git - scryer-prolog.git/commitdiff
fix: compile under Nix flake on macOS
authorRob Stolarz <[email protected]>
Sat, 11 Jan 2025 21:00:46 +0000 (13:00 -0800)
committerRob Stolarz <[email protected]>
Sat, 11 Jan 2025 21:00:46 +0000 (13:00 -0800)
flake.nix

index 64cc68215dd0a0d9fe3effc5dd79bc9d6d13ef64..852aa4afbfdd524a4d5b4c49f1bd794929a20611 100644 (file)
--- a/flake.nix
+++ b/flake.nix
       let 
         pkgs = import nixpkgs { inherit system overlays; };
         nativeBuildInputs = with pkgs; [ pkg-config ];
-        buildInputs = with pkgs; [ openssl ];
+        buildInputs = with pkgs; [ openssl ] ++
+                                 lib.optionals pkgs.stdenv.isDarwin [
+                                   pkgs.darwin.apple_sdk.frameworks.SystemConfiguration
+                                 ];
       in
       {
         devShells = {