From cd4ba7172bcc3a458c0410e1006fb10f8bac533e Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Mon, 10 Apr 2023 14:35:00 -0500 Subject: [PATCH] mujs: fix build on darwin MuJS 1.3.3 made the Darwin patch obsolete, and seems that it can build on Darwin without it. --- pkgs/development/interpreters/mujs/default.nix | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/pkgs/development/interpreters/mujs/default.nix b/pkgs/development/interpreters/mujs/default.nix index 319e039f5c59..881d0bbf1b46 100644 --- a/pkgs/development/interpreters/mujs/default.nix +++ b/pkgs/development/interpreters/mujs/default.nix @@ -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)" ];