diff --git a/pkgs/by-name/ux/uxn/package.nix b/pkgs/by-name/ux/uxn/package.nix index 43c87dd85fb3..3e3d9bf4e803 100644 --- a/pkgs/by-name/ux/uxn/package.nix +++ b/pkgs/by-name/ux/uxn/package.nix @@ -35,7 +35,10 @@ stdenv.mkDerivation (finalAttrs: { postPatch = '' patchShebangs build.sh substituteInPlace build.sh \ - --replace "-L/usr/local/lib " "" + --replace "-L/usr/local/lib " "" \ + --replace "$(brew --prefix)/lib/libSDL2.a " "" \ + --replace "--static-libs" "--libs" \ + --replace " | sed -e 's/-lSDL2 //'" "" ''; buildPhase = '' @@ -68,6 +71,5 @@ stdenv.mkDerivation (finalAttrs: { maintainers = with lib.maintainers; [ ]; mainProgram = "uxnemu"; inherit (SDL2.meta) platforms; - broken = stdenv.hostPlatform.isDarwin; }; })