Merge pull request #225632 from marsam/fix-mujs-darwin

mujs: fix build on darwin
This commit is contained in:
Mario Rodas
2023-04-11 07:20:34 -05:00
committed by GitHub
@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, readline
, gitUpdater
}:
@@ -15,16 +14,6 @@ stdenv.mkDerivation rec {
hash = "sha256-4sXuVBbf2iIwx6DLeJXfmpstWyBluxjn5k3sKnlqvhs=";
};
patches = lib.optionals stdenv.isDarwin [
(fetchpatch {
# ld: library not found for -l:libmujs.a
name = "darwin-failures.patch";
url = "https://git.ghostscript.com/?p=mujs.git;a=patch;h=d592c785c0b2f9fea982ac3fe7b88fdd7c4817fc";
sha256 = "sha256-/57A7S65LWZFyQIGe+LtqDMu85K1N/hbztXB+/nCDJk=";
revert = true;
})
];
buildInputs = [ readline ];
makeFlags = [ "prefix=$(out)" ];