Commit f80e3942 authored by Sarah Clark's avatar Sarah Clark
Browse files

sonic: fix install step on Darwin

parent 5b6adb28
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 ];