From 1da06a649112f7b03d7c6c485fa639b0a8e37f0a Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Fri, 21 Jul 2023 22:47:17 -0400 Subject: [PATCH] fix: Fix dylib names on darwin --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index bae17f7..ebe9c5d 100644 --- a/flake.nix +++ b/flake.nix @@ -81,7 +81,8 @@ darwin.apple_sdk.frameworks.SystemConfiguration ]); nativeBuildInputs = (sharedNativeDeps pkgs) - ++ (with pkgs; [ pkg-config cmake ]); + ++ (with pkgs; [ pkg-config cmake ]) ++ (with pkgs; + lib.optionals stdenv.isDarwin [ fixDarwinDylibNames ]); devBase = with pkgs; [ # Build tools