mujs: fix build on darwin
MuJS 1.3.3 made the Darwin patch obsolete, and seems that it can build on Darwin without it.
This commit is contained in:
parent
23e55a367e
commit
cd4ba7172b
1 changed files with 0 additions and 11 deletions
|
@ -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)" ];
|
||||
|
|
Loading…
Reference in a new issue