Unverified Commit 3de11c45 authored by Alexis Hildebrandt's avatar Alexis Hildebrandt Committed by GitHub
Browse files

sonic: fix install step on Darwin (#449620)

parents a8c69f20 f80e3942
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -22,6 +22,12 @@ stdenv.mkDerivation {
    "CC=${stdenv.cc.targetPrefix}cc"
  ];

  env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
    # Ensure that there is enough space for the `install_names_tool` to update
    # the install name of the output library.
    NIX_LDFLAGS = "-headerpad_max_install_names";
  };

  nativeBuildInputs = [ installShellFiles ];

  buildInputs = [ fftw ];