Commit cb282019 authored by OPNA2608's avatar OPNA2608 Committed by a-n-n-a-l-e-e
Browse files

open-watcom-v2-unwrapped: unstable-2023-05-17 -> unstable-2023-11-24, fix on Darwin

parent c6f2b53e
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -13,13 +13,13 @@
stdenv.mkDerivation rec {
  pname = "${passthru.prettyName}-unwrapped";
  # nixpkgs-update: no auto update
  version = "unstable-2023-05-17";
  version = "unstable-2023-11-24";

  src = fetchFromGitHub {
    owner = "open-watcom";
    repo = "open-watcom-v2";
    rev = "4053c858ac1f83a186704434bd16b6a6b8f4cf88";
    sha256 = "sha256-o+cA5kqPow+ERCeWdA3UNKawF+EjuL87lPXUjFT/D1w=";
    rev = "7976a5c7ca4e856907ccd378c17c71578ad51cb7";
    hash = "sha256-u9ljy4dZRoXKyUqdolxZijpc99TuhKPPlL6xlV3xJXA=";
  };

  postPatch = ''
@@ -47,6 +47,9 @@ stdenv.mkDerivation rec {
    ghostscript
  ];

  # Work around https://github.com/NixOS/nixpkgs/issues/166205
  env.NIX_LDFLAGS = lib.optionalString (stdenv.cc.isClang && stdenv.cc.libcxx != null) "-l${stdenv.cc.libcxx.cxxabi.libName}";

  configurePhase = ''
    runHook preConfigure