Unverified Commit 61d6b139 authored by Ben Siraphob's avatar Ben Siraphob Committed by GitHub
Browse files

gccNGPackages.libbacktrace: fix tests on darwin (#458007)

parents ae90bb62 3d8133c5
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -47,6 +47,11 @@ stdenv.mkDerivation (finalAttrs: {
    mkdir ../../build
    cd ../../build
    configureScript=../$sourceRoot/configure
  ''
  + lib.optionalString stdenv.hostPlatform.isDarwin ''
    # GNU debuglink is not supported on macOS (Mach-O format)
    # Skip the gnudebuglink tests which fail on Darwin
    export libbacktrace_cv_objcopy_debuglink=no
  '';

  installPhase = ''